diff --git a/dap/worker.py b/dap/worker.py index 7c620f9..003b001 100644 --- a/dap/worker.py +++ b/dap/worker.py @@ -150,14 +150,10 @@ def work(backend_address, accumulator_host, accumulator_port, visualisation_host if pixel_mask_corrected is not None: #pixel_mask_corrected = np.ascontiguousarray(pixel_mask_corrected) pixel_mask_pf = np.ascontiguousarray(pixel_mask_corrected).astype(np.int8, copy=False) - + calc_apply_additional_mask(results, pixel_mask_pf) # changes pixel_mask_pf in place else: pixel_mask_pf = None - - calc_apply_additional_mask(results, pixel_mask_pf) # changes pixel_mask_pf in place - - if pixel_mask_corrected is not None: data_s = copy(image) saturated_pixels_coordinates = ju_stream_adapter.handler.get_saturated_pixels(data_s, mask=True, geometry=True, gap_pixels=True, double_pixels=double_pixels)