File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -180,12 +180,10 @@ def main(
180
180
cells = mp_3d_filter .process (async_results , locks , callback = callback )
181
181
182
182
time_elapsed = datetime .now () - start_time
183
- logger .debug (f"All Planes done. Found { len (cells )} cells in { format (time_elapsed )} " )
184
- print (
185
- "Detection complete - all planes done in : {}" .format (
186
- time_elapsed
187
- )
183
+ logger .debug (
184
+ f"All Planes done. Found { len (cells )} cells in { format (time_elapsed )} "
188
185
)
186
+ print ("Detection complete - all planes done in : {}" .format (time_elapsed ))
189
187
return cells
190
188
191
189
Original file line number Diff line number Diff line change @@ -143,7 +143,9 @@ def get_results(self) -> List[Cell]:
143
143
144
144
cells = []
145
145
146
- logger .debug (f"Processing { len (self .cell_detector .coords_maps .items ())} cells" )
146
+ logger .debug (
147
+ f"Processing { len (self .cell_detector .coords_maps .items ())} cells"
148
+ )
147
149
for cell_id , cell_points in self .cell_detector .coords_maps .items ():
148
150
cell_volume = len (cell_points )
149
151
@@ -159,7 +161,7 @@ def get_results(self) -> List[Cell]:
159
161
Cell .UNKNOWN ,
160
162
)
161
163
)
162
- logger .debug (f "Found cell < max_cell_volume." )
164
+ logger .debug ("Found cell < max_cell_volume." )
163
165
else :
164
166
if cell_volume < self .max_cluster_size :
165
167
try :
@@ -181,7 +183,7 @@ def get_results(self) -> List[Cell]:
181
183
Cell .UNKNOWN ,
182
184
)
183
185
)
184
- logger .debug (f "Found cell < max_cluster_size." )
186
+ logger .debug ("Found cell < max_cluster_size." )
185
187
else :
186
188
cell_centre = get_structure_centre (cell_points )
187
189
cells .append (
@@ -194,7 +196,7 @@ def get_results(self) -> List[Cell]:
194
196
Cell .ARTIFACT ,
195
197
)
196
198
)
197
- logger .debug (f "Found artifact cell." )
199
+ logger .debug ("Found artifact cell." )
198
200
199
201
logger .debug ("Finished splitting cell clusters." )
200
202
return cells
You can’t perform that action at this time.
0 commit comments