Coverage for mddb_workflow/tools/get_first_frame.py: 100%
4 statements
« prev ^ index » next coverage.py v7.11.0, created at 2025-10-29 15:48 +0000
« prev ^ index » next coverage.py v7.11.0, created at 2025-10-29 15:48 +0000
1from mddb_workflow.utils.gmx_spells import get_first_frame as get_first_frame_gmx
2from mddb_workflow.utils.type_hints import *
4# DANI: No lo muevo a gmx spells porque allí ya hay un get_first_frame
5# DANI: La otra función también tiene inputs con nombres estandares (para el converter)
6def get_first_frame (
7 structure_file : 'File',
8 trajectory_file : 'File',
9 output_filepath : str
10 ):
11 """Get the trajectory first frame in PDB format using Gromacs."""
12 get_first_frame_gmx(structure_file.path, trajectory_file.path, output_filepath)