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 Jun 12, 2024
1 parent 7d339e5 commit feb1416
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 @@ -167,7 +167,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: dict) -> str:
"""
Expand Down

0 comments on commit feb1416

Please sign in to comment.