File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -315,8 +315,7 @@ def parseCovs(self, covLibObjs):
315
315
pass
316
316
covLib .mean_cov = covLib .cov_sum / self .seqs
317
317
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 )
320
319
self .covLibs [covLib .name ] = covLib
321
320
322
321
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def error(message, *argv):
22
22
def progress (iteration , steps , max_value ):
23
23
if int (iteration == max_value ):
24
24
sys .stdout .write ('\r ' )
25
- print "[PROGRESS]\t : %d%%\n " % (100 )
25
+ print "[PROGRESS]\t : %d%%" % (100 )
26
26
elif int (iteration ) % int (steps ) == 0 :
27
27
sys .stdout .write ('\r ' )
28
28
print "[PROGRESS]\t : %d%%" % (float (int (iteration )/ int (max_value ))* 100 ),
You can’t perform that action at this time.
0 commit comments