Skip to content

Commit

Permalink
Merge pull request #637 from marrink-lab/go-topol-header-fix
Browse files Browse the repository at this point in the history
Go topol header fix
  • Loading branch information
pckroon authored Nov 21, 2024
2 parents 778aa88 + 8808484 commit 1e7a168
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions vermouth/gmx/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,10 @@ def write_gmx_topology(system,
if "atomtypes" in system.gmx_topology_params:
_path = itp_paths['atomtypes']
write_atomtypes(system, _path, C6C12)
include_string += f'\n #include "{_path}"'
# Next we write the nonbond_params directive
if "nonbond_params" in system.gmx_topology_params:
_path = itp_paths['nonbond_params']
write_nonbond_params(system, _path, C6C12)
include_string += f'\n #include "{_path}"\n'
# Write the ITP files for the molecule types, and prepare writing the
# [ molecules ] section of the top file.
# * We write one ITP file for each different moltype in the system, the
Expand Down
3 changes: 0 additions & 3 deletions vermouth/tests/gmx/test_topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,6 @@ def test_toplevel_topology(tmp_path, dummy_molecule):

reference =f"""#define random
#include "martini.itp"
#include "{tmp_path}/atomtypes.itp"
#include "{tmp_path}/nonbond_params.itp"
#include "molecule_0.itp"
[ system ]
Expand Down

0 comments on commit 1e7a168

Please sign in to comment.