Skip to content

Commit

Permalink
Optimize whole brain (#39)
Browse files Browse the repository at this point in the history
* minor upds

* minor upds

---------

Co-authored-by: anna-grim <anna.grim@alleninstitute.org>
  • Loading branch information
anna-grim and anna-grim authored Jan 22, 2024
1 parent 10943b6 commit ac5a621
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/deep_neurographs/intake.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def build_neurograph_from_gcs_zips(
total_runtime, t0 = utils.init_timers()
swc_dicts = download_gcs_zips(bucket_name, cloud_path, min_size)
t, unit = utils.time_writer(time() - t0)
print(f"Module Runtime(): {round(t, 4)} {unit} \n")
print(f"\nModule Runtime(): {round(t, 4)} {unit} \n")

# Build neurograph
print("Build NeuroGraph...")
Expand All @@ -163,8 +163,7 @@ def build_neurograph_from_gcs_zips(
search_radius, n_proposals_per_leaf=n_proposals_per_leaf
)
t, unit = utils.time_writer(time() - t0)
print("\n# proposals:", len(neurograph.mutable_edges))
print(f"Module Runtime(): {round(t, 4)} {unit} \n")
print("# proposals:", utils.reformat_number(len(neurograph.mutable_edges)))

t, unit = utils.time_writer(time() - total_runtime)
print(f"Total Runtime: {round(t, 4)} {unit}")
Expand Down

0 comments on commit ac5a621

Please sign in to comment.