Skip to content

Commit

Permalink
Fixed bug where xml file wasn't correctly formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
olliemelling committed May 3, 2023
1 parent 0d67596 commit 9659ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grand/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def create_ligand_xml(prmtop, prepi, resname='LIG', output='lig.xml'):

with open(output, 'w') as f:
# First few lines get written out automatically
for line in tmp_xml_lines[:4]:
for line in tmp_xml_lines[:5]:
f.write(line)

# First, we worry about the <AtomTypes> section
Expand Down

0 comments on commit 9659ed2

Please sign in to comment.