runtraj.output.Output.write_result#

Output.write_result(variant, release, result, met_files, realization=None)[source]#

Write a release’s result of the type variant makes (runtraj.config.Variant.result).

Particles as write_particles() writes them; another type as the type writes its file (runtraj.results), with the same record of the run’s settings and the same stamp.

Raises:

ValueError – If result is not one of the type, or holds nothing: its file makes the simulation complete.

Return type:

Path | UPath

Parameters: