Skip to content

Commit

Permalink
Merge pull request #766 from pbuslaev/main
Browse files Browse the repository at this point in the history
Use argument value in `_parse_gmx_energies`
  • Loading branch information
mattwthompson authored Jul 11, 2023
2 parents 281e54e + 4001bae commit fa57653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openff/interchange/drivers/gromacs.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def _parse_gmx_energy(edr_path: str) -> dict[str, unit.Quantity]:
"""Parse an `.edr` file written by `gmx energy`."""
import panedr

parsed_energies = panedr.edr_to_df("out.edr").to_dict("index")[0.0]
parsed_energies = panedr.edr_to_df(edr_path).to_dict("index")[0.0]
parsed_energies.pop("Time")

# for key in energies:
Expand Down

0 comments on commit fa57653

Please sign in to comment.