Skip to content

Commit

Permalink
Fixed bug for files without '\n' at the end of file.
Browse files Browse the repository at this point in the history
  • Loading branch information
smelandr committed Oct 27, 2017
1 parent 1ddeb86 commit 86c3920
Show file tree
Hide file tree
Showing 3 changed files with 284 additions and 328 deletions.
2 changes: 2 additions & 0 deletions nmrstarlib/bmrblex.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ def transform_text(input_txt):

outputq.append(u"\n")

outputq.extend([u"\n", u""]) # end of file signal

return outputq


Expand Down

0 comments on commit 86c3920

Please sign in to comment.