Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 13, 2025
1 parent 61a7a65 commit 11b1430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GOSTnets/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ def assign_traffic_times(
# print('print elapsed_seconds: ' + str(elapsed_seconds))
if verbose is True:
print(
f"Did {numcalls+1} calls in {elapsed_seconds:.2f} seconds, now wait {60-elapsed_seconds:.2f}, {(300*loop_count)/len(edges):.2%} complete"
f"Did {numcalls + 1} calls in {elapsed_seconds:.2f} seconds, now wait {60 - elapsed_seconds:.2f}, {(300 * loop_count) / len(edges):.2%} complete"
)
time.sleep(60 - elapsed_seconds)

Expand Down

0 comments on commit 11b1430

Please sign in to comment.