Skip to content

Commit 3727043

Browse files
Dom LaetschDom Laetsch
authored andcommitted
fixed cov parsing in BtIO
now also gets integers, not only floats
1 parent b2d2931 commit 3727043

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
@@ -125,7 +125,7 @@ def parseCovFromHeader(fasta_type, header ):
125125
pass
126126

127127
def readCov(infile, set_of_blobs):
128-
cov_line_re = re.compile(r"^(\S+)\t(\d+\.\d+)")
128+
cov_line_re = re.compile(r"^(\S+)\t(\d+\.*\d*)")
129129
i = 0
130130
with open(infile) as fh:
131131
for line in fh:

0 commit comments

Comments
 (0)