collect_md_trajs#
- autoplex.data.md.jobs.collect_md_trajs(md_outputs, traj_file='MD.traj')[source]#
Collect molecular dynamics (MD) trajectory file paths from multiple job outputs.
- Parameters:
md_outputs (dict) – A dictionary mapping job identifiers (e.g., “md_job_0”, “md_job_1”, …) to their output objects. Each output object must have a dir_name attribute that points to the directory containing the MD results.
traj_file (str | Path) – Name of the trajectory file each MD job wrote (its traj_file).
- Returns:
Absolute paths to the trajectory file of each MD job.
- Return type:
list[str]