Skip to content

Commit

Permalink
Revert "add temporary code to print total processed measurements"
Browse files Browse the repository at this point in the history
This reverts commit 575805e.
  • Loading branch information
fizmat committed Mar 27, 2024
1 parent a9a8330 commit f76e780
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions calculateAverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ def process_file(
_result[2] += measurements[2]
_result[3] += measurements[3]

total = sum(r[3] for r in result.values())
import sys
if len(sys.argv) > 1:
print(total)
return

# Print final results
print("{", end="")
for location, measurements in sorted(result.items()):
Expand Down
6 changes: 0 additions & 6 deletions calculateAveragePypy.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,6 @@ def process_file(
_result[2] += measurements[2]
_result[3] += measurements[3]

total = sum(r[3] for r in result.values())
import sys
if len(sys.argv) > 1:
print(total)
return

# Print final results
print("{", end="")
for location, measurements in sorted(result.items()):
Expand Down

0 comments on commit f76e780

Please sign in to comment.