Skip to content

Commit

Permalink
Add coondition for writing to h5
Browse files Browse the repository at this point in the history
  • Loading branch information
ladinesa committed Aug 22, 2024
1 parent 2b2887b commit e2b7dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atomisticparsers/gromacs/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ def parse_workflow(self):

self.parse_md_workflow(dict(method=method, results=results))

if flag_fe:
if flag_fe and self.archive.m_context:
sec_fe_parameters = (
self.archive.workflow2.method.free_energy_calculation_parameters[0]
)
Expand Down

0 comments on commit e2b7dfd

Please sign in to comment.