Skip to content

Commit a70507a

Browse files
author
Dominik R Laetsch
committed
...
1 parent 89a23d8 commit a70507a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/BtIO.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def parseCovFromHeader(fasta_type, header ):
143143
temp = header.split(" ")
144144
return float(temp[2]/(temp[1]+1-75))
145145
elif fasta_type == 'platanus':
146-
temp = header.rsplit("\n").split("_")
146+
temp = header.rstrip("\n").split("_")
147147
if len(temp) >= 3:
148148
return float(temp[3].replace("cov", "")) # scaffold/scaffoldBubble/contig
149149
else:

0 commit comments

Comments
 (0)