Skip to content

Commit

Permalink
rna_x3dna.py: strip ss output
Browse files Browse the repository at this point in the history
  • Loading branch information
mmagnus committed Jan 11, 2024
1 parent fb041ae commit eba4b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rna_tools/tools/rna_x3dna/rna_x3dna.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def get_secstruc(self):
"""
hits = re.search("as a whole and per chain.*?\n(?P<ss>.+?)\n\*", self.report, re.DOTALL|re.MULTILINE)
if hits:
return hits.group('ss')
return hits.group('ss').strip()
else:
self.report.split('\n')[-1] # tofix

Expand Down

0 comments on commit eba4b2d

Please sign in to comment.