Skip to content

Commit 2a668a6

Browse files
committed
adv
1 parent 35e41da commit 2a668a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/napatrackmater/Trackvector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4437,6 +4437,7 @@ def inception_model_prediction(
44374437
shape_model=None,
44384438
morphodynamic_model=None,
44394439
device="cpu",
4440+
verbose = True
44404441
):
44414442

44424443
sub_trackmate_dataframe = dataframe[dataframe["TrackMate Track ID"] == trackmate_id]
@@ -4453,8 +4454,7 @@ def inception_model_prediction(
44534454
sub_dataframe_morpho = tracklet_sub_dataframe[SHAPE_DYNAMIC_FEATURES].values
44544455

44554456
total_duration = tracklet_sub_dataframe["Track Duration"].max()
4456-
print(trackmate_id, len(sub_dataframe_morpho))
4457-
if len(sub_dataframe_morpho) < tracklet_length:
4457+
if len(sub_dataframe_morpho) < tracklet_length and verbose:
44584458
print(f'Tracklet for Track id {trackmate_id} too short for prediction')
44594459
continue
44604460
sub_arrays_shape = sample_subarrays(

0 commit comments

Comments
 (0)