Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix amber stdout parsing #56

Merged
merged 7 commits into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/BioSimSpace/Process/_amber.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ def getElectrostaticEnergy(self, time_series=False, block="AUTO"):
energy : :class:`Energy <BioSimSpace.Types.Energy>`
The electrostatic energy.
"""
return self.getRecord("EELECT", time_series, _Units.Energy.kcal_per_mol, block)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the key is wrong. All output that I generate for any protocol has EELEC, not EELECT. The commit message explains the reason for the change.

return self.getRecord("EELEC", time_series, _Units.Energy.kcal_per_mol, block)

def getCurrentElectrostaticEnergy(self, time_series=False):
"""
Expand Down
Loading