Skip to content

Commit 6a902ec

Browse files
Dom LaetschDom Laetsch
authored andcommitted
...
1 parent f0b9b45 commit 6a902ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/BtCore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def parseCovs(self, covLibObjs):
228228
base_cov_dict, covLib.reads_total, covLib.reads_mapped, read_cov_dict = BtIO.readBam(covLib.f, set(self.dict_of_blobs))
229229
else:
230230
base_cov_dict, covLib.reads_total, covLib.reads_mapped, read_cov_dict = BtIO.readSam(covLib.f, set(self.dict_of_blobs))
231-
if covLib.reads_total == 0 or not len(cov_dict) == self.seqs:
231+
if covLib.reads_total == 0 or not len(base_cov_dict) == self.seqs:
232232
print BtLog.warn['4'] % covLib.f
233233
for name, base_cov in base_cov_dict.items():
234234
cov = base_cov / self.dict_of_blobs[name].agct_count

0 commit comments

Comments
 (0)