Skip to content

Commit 2143cf8

Browse files
Dom LaetschDom Laetsch
authored andcommitted
...
1 parent 135769a commit 2143cf8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/BtCore.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,7 @@ def parseCovs(self, covLibObjs):
315315
pass
316316
covLib.mean_cov = covLib.cov_sum/self.seqs
317317
if covLib.cov_sum == 0.0:
318-
print BtLog.error_d['26'] % (covLib.f)
319-
print covLib.cov_sum
318+
BtLog.error('26', covLib.f)
320319
self.covLibs[covLib.name] = covLib
321320

322321

lib/BtLog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def error(message, *argv):
2222
def progress(iteration, steps, max_value):
2323
if int(iteration == max_value):
2424
sys.stdout.write('\r')
25-
print "[PROGRESS]\t: %d%%\n" % (100)
25+
print "[PROGRESS]\t: %d%%" % (100)
2626
elif int(iteration) % int(steps) == 0:
2727
sys.stdout.write('\r')
2828
print "[PROGRESS]\t: %d%%" % (float(int(iteration)/int(max_value))*100),

0 commit comments

Comments
 (0)