Skip to content

Commit

Permalink
removing double linebreaks for write_input
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenlinZhang committed Oct 27, 2023
1 parent 743df88 commit 175ed73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydsm/input/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def write(output, tables):
'''
for name in tables.keys():
df=tables[name]
output.write(name+'\n')
tables[name].to_csv(output,index=None,sep=' ')
output.writelines(name+'\n')
tables[name].to_csv(output,index=None,sep=' ',line_terminator='\n')
output.write('\nEND\n')
#

0 comments on commit 175ed73

Please sign in to comment.