Skip to content

Commit 74f60d4

Browse files
committed
Restrict to energy trajectory parquet files.
1 parent 0908b42 commit 74f60d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/BioSimSpace/FreeEnergy/_relative.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def analyse(work_dir, estimator="MBAR", method="alchemlyb", **kwargs):
443443

444444
function_glob_dict = {
445445
"SOMD": (Relative._analyse_somd, "**/simfile.dat"),
446-
"SOMD2": (Relative._analyse_somd2, "**/*.parquet"),
446+
"SOMD2": (Relative._analyse_somd2, "**/energy_traj_*.parquet"),
447447
"GROMACS": (Relative._analyse_gromacs, "**/[!bar]*.xvg"),
448448
"AMBER": (Relative._analyse_amber, "**/*.out"),
449449
}
@@ -1958,7 +1958,7 @@ def _analyse_somd2(work_dir=None, estimator="MBAR", method="alchemlyb", **kwargs
19581958

19591959
# Glob the data files.
19601960
glob_path = _pathlib.Path(work_dir)
1961-
files = sorted(glob_path.glob("**/*.parquet"))
1961+
files = sorted(glob_path.glob("**/energy_traj_*.parquet"))
19621962

19631963
# Loop over each file and try to extract the metadata to work out
19641964
# the lambda value and temperature for each window.

0 commit comments

Comments
 (0)