Skip to content

Commit

Permalink
Fixed multiline string leading new line character.
Browse files Browse the repository at this point in the history
  • Loading branch information
smelandr committed Jan 6, 2017
1 parent dc281e4 commit 3a03345
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion nmrstarlib/bmrblex.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def transform_text(input_txt):
line = inputq.popleft()

if line.startswith(u";"):
multiline = u";\n"
multiline = u"\n;\n"
line = inputq.popleft()

while not line.startswith(u";"):
Expand Down
10 changes: 5 additions & 5 deletions nmrstarlib/cbmrblex.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nmrstarlib/cbmrblex.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def transform_text(input_txt):
line = inputq.popleft()

if line.startswith(u";"):
multiline = u";\n"
multiline = u"\n;\n"
line = inputq.popleft()

while not line.startswith(u";"):
Expand Down

0 comments on commit 3a03345

Please sign in to comment.