removed line that does nothing (nan has no sign, nan always compares to False -> this never overwrites any element)
This commit is contained in:
@ -30,7 +30,6 @@ def calc_force_send(results, data, pixel_mask_pf, image, data_summed, n_aggregat
|
|||||||
data += data_summed
|
data += data_summed
|
||||||
n_aggregated_images += 1
|
n_aggregated_images += 1
|
||||||
data_summed = data.copy()
|
data_summed = data.copy()
|
||||||
data_summed[data == -np.nan] = -np.nan #TODO: this does nothing
|
|
||||||
results["aggregated_images"] = n_aggregated_images
|
results["aggregated_images"] = n_aggregated_images
|
||||||
results["worker"] = 1 #TODO: keep this for backwards compatibility?
|
results["worker"] = 1 #TODO: keep this for backwards compatibility?
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user