Skip to content

Commit

Permalink
Fixed faulty merge
Browse files Browse the repository at this point in the history
  • Loading branch information
James Avery committed Apr 25, 2023
1 parent b6fd89b commit fec3f47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/processing_steps/0600_segment_implant_cc.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@
(z,0,0), (nz,ny,nx))
noisy_implant[z:z+chunk_length] = (voxel_chunk[:chunk_length] > implant_threshold_u16)


if verbose >= 1: print(f"Computing connected components")
>>>>>>> ffccb51ed8220405a1118d93dca6147b878b7011:src/processing_steps/0600_segment_implant_cc.py

label, n_features = ndi.label(noisy_implant)
if verbose >= 1: print(f"Counting component volumes")
bincnts = np.bincount(label[label>0],minlength=n_features+1)
Expand Down

0 comments on commit fec3f47

Please sign in to comment.