Skip to content

Commit

Permalink
Nicer numbers in network processor statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
stijn-uva committed Feb 3, 2025
1 parent 1e0a24c commit 4e5752d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processors/networks/two-column-network.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def process(self):

processed += 1
if processed % 500 == 0:
self.dataset.update_status("Processed %i items (%i nodes found)" % (processed, len(network.nodes)))
self.dataset.update_status(f"Processed {processed:,} items ({len(network.nodes):,} nodes found)")
self.dataset.update_progress(processed / self.source_dataset.num_rows)

# both columns need to have a value for an edge to be possible
Expand Down

0 comments on commit 4e5752d

Please sign in to comment.