Skip to content

Commit

Permalink
solved bug with reorganize function
Browse files Browse the repository at this point in the history
  • Loading branch information
jules-vanaret committed Jan 9, 2025
1 parent bdb1e59 commit 3a2c713
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/napari_tapenade_processing/_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -2711,7 +2711,7 @@ def _run_macro(self):
parallel_function(i)
# * functions that need special wrapping (e.g cropping)
elif function_name == "reorganize_array_dimensions":
if func_params["bool_seperate_channels"]:
if not func_params["bool_seperate_channels"]:
output_id = next(
iter(output_params_to_layer_ids_dict.values())
)
Expand All @@ -2722,7 +2722,6 @@ def _run_macro(self):
layer_id_to_folder_path_dict[output_id]
for output_id in output_ids
]
output_folder = layer_id_to_folder_path_dict[output_id]
reorganize_array_dimensions_from_files(
input_params_to_list_of_tifpaths_dict["array"],
output_folders,
Expand Down

0 comments on commit 3a2c713

Please sign in to comment.