Skip to content

Commit

Permalink
Merge branch 'master' into fix-recent-failures
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeckst authored Feb 19, 2020
2 parents cd4f499 + 79e5594 commit 3ab9679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gromacs/cbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ def create_portable_topology(topol, struct, **kwargs):
processed = kwargs.pop('processed', os.path.join(_topoldir, 'pp_'+_topol))
grompp_kwargs, mdp_kwargs = filter_grompp_options(**kwargs)
mdp_kwargs = add_mdp_includes(topol, mdp_kwargs)
with tempfile.NamedTemporaryFile(suffix='.mdp') as mdp:
with tempfile.NamedTemporaryFile(suffix='.mdp', mode='w') as mdp:
mdp.write('; empty mdp file\ninclude = {include!s}\n'.format(**mdp_kwargs))
mdp.flush()
grompp_kwargs['p'] = topol
Expand Down

0 comments on commit 3ab9679

Please sign in to comment.