early exit 1
This commit is contained in:
@ -4,7 +4,9 @@ import numpy as np
|
||||
def calc_force_send(results, data, pixel_mask_pf, image, n_aggregated_images, data_summed):
|
||||
force_send_visualisation = False
|
||||
|
||||
if data.dtype != np.uint16:
|
||||
if data.dtype == np.uint16:
|
||||
return data, force_send_visualisation, n_aggregated_images, data_summed
|
||||
|
||||
apply_threshold = results.get("apply_threshold", False)
|
||||
apply_aggregation = results.get("apply_aggregation", False)
|
||||
|
||||
|
Reference in New Issue
Block a user