Skip to content

Commit

Permalink
Add newline at end of OFFXML files
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwthompson committed Nov 7, 2023
1 parent 575501a commit 6ed7f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openff/toolkit/typing/engines/smirnoff/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def to_file(self, file_path, smirnoff_data):
"""
xml_string = self.to_string(smirnoff_data)
with open(file_path, "w") as of:
of.write(xml_string)
of.write(xml_string + "\n")

def to_string(self, smirnoff_data):
"""
Expand Down

0 comments on commit 6ed7f9a

Please sign in to comment.