Skip to content

Commit

Permalink
Minor bug fix. Was printing first line with an extra newline character
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoRodrigues committed May 24, 2016
1 parent 9e63aac commit 3177763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdb_splitchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _extract_chains(fhandle):
cur_chain = chain_atoms[line[21]] = []
else:
cur_chain = chain_atoms[line[21]]
cur_chain.append(line + '\n')
cur_chain.append(line)
prev_chain = line[21]
chain_ids.append(line[21])
else:
Expand Down

0 comments on commit 3177763

Please sign in to comment.