Skip to content

Commit 2e50d75

Browse files
committed
Fix file name.
1 parent 71af90b commit 2e50d75

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/BioSimSpace/FreeEnergy/_relative.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -915,17 +915,17 @@ def _somd_extract(simfile, T=None, estimator="MBAR"):
915915

916916
if not found_lambda:
917917
raise ValueError(
918-
f"The lambda window was not detected in the SOMD output file: {file}"
918+
f"The lambda window was not detected in the SOMD output file: {simfile}"
919919
)
920920

921921
if not found_array:
922922
raise ValueError(
923-
f"The lambda array was not detected in the SOMD output file: {file}"
923+
f"The lambda array was not detected in the SOMD output file: {simfile}"
924924
)
925925

926926
if not found_time:
927927
raise ValueError(
928-
f"The simulation time was not detected in the SOMD output file: {file}"
928+
f"The simulation time was not detected in the SOMD output file: {simfile}"
929929
)
930930

931931
# TODO: get header from the file instead of like this.

0 commit comments

Comments
 (0)