Skip to content

Commit

Permalink
Convert indentation to tabs instead of spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmar-van-den-Berg committed Jun 11, 2020
1 parent 31b1480 commit 2fd1e8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fuma/ComparisonTriangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ def prune_duplicates(self,merged_fusions):

def log_progress(self,n_total, passed, previous_percentage):
# Print percentage - doesn't entirely fit yet
try:
percentage = 100.0 * (float(passed) / float(n_total))
except ZeroDivisionError:
percentage = 100.0
try:
percentage = 100.0 * (float(passed) / float(n_total))
except ZeroDivisionError:
percentage = 100.0
if percentage >= previous_percentage + 5.0 or passed == n_total:# Repport each 5%
self.logger.debug(str(round(percentage,1))+"% completed")
previous_percentage = percentage
Expand Down

0 comments on commit 2fd1e8b

Please sign in to comment.