version 2.0.2error : `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 47, in launch_segmentation
    new_parameters = ask_input_parameters(user_parameters, ask_for_segmentation= True) #The image is open and stored inside user_parameters
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_preprocess.py", line 385, in ask_input_parameters
    image_input_values = input_image_prompt(
                         ^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/prompts.py", line 96, in input_image_prompt
    image = open_image(im_path)
            ^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/interface/image.py", line 15, in open_image
    else : im = read_image(full_path)
                ^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/big-fish/bigfish/stack/io.py", line 51, in read_image
    image = tifffile.imread(path)
            ^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/small_fish_3.12/lib/python3.12/site-packages/tifffile/tifffile.py", line 1064, in imread
    return tif.asarray(
           ^^^^^^^^^^^^
  File "/home/floric/python_env/small_fish_3.12/lib/python3.12/site-packages/tifffile/tifffile.py", line 4195, in asarray
    result = self.filehandle.read_array(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/small_fish_3.12/lib/python3.12/site-packages/tifffile/tifffile.py", line 13922, in read_array
    result = result.newbyteorder()
             ^^^^^^^^^^^^^^^^^^^
AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
version 2.0.2error : small_fish_gui.gui.prompts.segmentation_prompt() got multiple values for keyword argument 'image'traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 67, in launch_segmentation
    event, values = segmentation_prompt(
                    ^^^^^^^^^^^^^^^^^^^^
TypeError: small_fish_gui.gui.prompts.segmentation_prompt() got multiple values for keyword argument 'image'
version 2.0.2error : 'anisotropy'traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 166, in launch_segmentation
    if not isinstance(values["anisotropy"], (float,int)) :
                      ~~~~~~^^^^^^^^^^^^^^
KeyError: 'anisotropy'
version 2.0.2error : name 'filename' is not definedtraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 241, in launch_segmentation
    if type(path) != type(None) and filename != '':
                                    ^^^^^^^^
NameError: name 'filename' is not defined
version 2.0.2error : 'filename'traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 242, in launch_segmentation
    if type(path) != type(None) and user_parameters["filename"] != '':
                                    ~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'filename'
version 2.0.2error : name 'cytoplasm_model_name' is not definedtraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 253, in launch_segmentation
    cytoplasm_model_name= cytoplasm_model_name,
                          ^^^^^^^^^^^^^^^^^^^^
NameError: name 'cytoplasm_model_name' is not defined
version 2.0.2error : 'nucleus_segmentation_3D'traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 261, in launch_segmentation
    nucleus_3D_segmentation=user_parameters["nucleus_segmentation_3D"],
                            ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'nucleus_segmentation_3D'
version 2.0.2error : name 'show_segmentation' is not definedtraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 325, in launch_segmentation
    if show_segmentation :
       ^^^^^^^^^^^^^^^^^
NameError: name 'show_segmentation' is not defined. Did you mean: 'plot_segmentation'?
version 2.0.2error : name 'is_3D_stack' is not definedtraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 89, in launch_segmentation
    values, relaunch = _check_integrity_segmentation_parameters(values, user_parameters, available_channels=available_channels, available_slices=available_slices)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 368, in _check_integrity_segmentation_parameters
    if is_3D_stack :
       ^^^^^^^^^^^
NameError: name 'is_3D_stack' is not defined
version 2.0.2error : name 'nucleus_image' is not definedtraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 139, in launch_segmentation
    nuc_image=image[nucleus_channel] if type(nucleus_image) == type(None) else nucleus_image,
                                             ^^^^^^^^^^^^^
NameError: name 'nucleus_image' is not defined. Did you mean: 'nucleus_label'?
version 2.0.2error : name 'nucleus_image' is not definedtraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 139, in launch_segmentation
    nuc_image=image[nucleus_channel] if type(nucleus_image) == type(None) else nucleus_image,
                                             ^^^^^^^^^^^^^
NameError: name 'nucleus_image' is not defined. Did you mean: 'nucleus_label'?
version 2.0.2error : name 'nucleus_channel' is not definedtraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 139, in launch_segmentation
    nuc_image=image[nucleus_channel] if type(user_parameters["other_nucleus_image"]) == type(None) else user_parameters["other_nucleus_image"],
                    ^^^^^^^^^^^^^^^
NameError: name 'nucleus_channel' is not defined. Did you mean: 'nucleus_label'?
version 2.0.2error : 'str' object has no attribute 'ndim'traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 117, in launch_segmentation
    cytoplasm_label, nucleus_label = cell_segmentation(
                                     ^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 232, in cell_segmentation
    if nuc.ndim >= 3 and not nucleus_3D_segmentation:
       ^^^^^^^^
AttributeError: 'str' object has no attribute 'ndim'
version 2.0.2error : name 'result' is not definedtraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 45, in <module>
    new_result_df, new_cell_result_df, acquisition_id, user_parameters =  add_detection(
                                                                          ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 101, in add_detection
    user_parameters, frame_result, spots, clusters, spots_cluster_id = launch_detection(
                                                                       ^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/detection.py", line 626, in launch_detection
    spots, threshold = interactive_detection(
                       ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/napari_visualiser.py", line 262, in interactive_detection
    background_remover = _interactive_background_removal(image, voxel_size, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/napari_visualiser.py", line 344, in _interactive_background_removal
    background_remover = BackgroundRemover(
                         ^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/_napari_widgets.py", line 792, in __init__
    "contrast_limits" : [result.min(), result.max()],
                         ^^^^^^
NameError: name 'result' is not defined
version 2.0.2error : 'Column' object is not iterabletraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 300, in compute_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key = initiate_colocalisation(result_dataframe)
                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 178, in initiate_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key, values = coloc_prompt(
                                                                          ^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/prompts.py", line 322, in coloc_prompt
    for row in element_dict[f"options_spots{spot_id}_memory"] :
TypeError: 'Column' object is not iterable
version 2.0.2error : name 'do_only_nuc' is not definedtraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 55, in <module>
    nucleus_label, cytoplasm_label, user_parameters = segment_cells(
                                                      ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 51, in segment_cells
    nucleus_label, cytoplasm_label, user_parameters = launch_segmentation(
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/segmentation.py", line 174, in launch_segmentation
    if not do_only_nuc :
          ^^^^^^^^^^^
NameError: name 'do_only_nuc' is not defined
version 2.0.2error : 'Column' object is not iterabletraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 300, in compute_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key = initiate_colocalisation(result_dataframe)
                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 178, in initiate_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key, values = coloc_prompt(
                                                                          ^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/prompts.py", line 322, in coloc_prompt
    for row in element_dict[f"options_spots{spot_id}_memory"] :
TypeError: 'Column' object is not iterable
version 2.0.2error : Text.update() got an unexpected keyword argument 'disabled'traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 300, in compute_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key = initiate_colocalisation(result_dataframe)
                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 178, in initiate_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key, values = coloc_prompt(
                                                                          ^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/prompts.py", line 325, in coloc_prompt
    for elmnt in row : elmnt.update(disabled= is_memory)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Text.update() got an unexpected keyword argument 'disabled'
version 2.0.2error : 'NoneType' object has no attribute 'get'traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 300, in compute_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key = initiate_colocalisation(result_dataframe)
                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 178, in initiate_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key, values = coloc_prompt(
                                                                          ^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/prompts.py", line 303, in coloc_prompt
    layout, element_dict = colocalization_layout(spot_list, **default_values)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/layout.py", line 477, in colocalization_layout
    sg.Input(size=20, key= f"spots{spot_id}_browse", default_text=default_values.get(f"spots{spot_id}_browse"), disabled=element_dict[f"radio_spots{spot_id}_memory"].get()),
                                                                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/small_fish_3.12/lib/python3.12/site-packages/FreeSimpleGUI/elements/radio.py", line 248, in get
    return self.TKIntVar.get() == self.EncodedRadioValue
           ^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
version 2.0.2error : 'NoneType' object has no attribute 'get'traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 300, in compute_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key = initiate_colocalisation(result_dataframe)
                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 178, in initiate_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key, values = coloc_prompt(
                                                                          ^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/prompts.py", line 303, in coloc_prompt
    layout, element_dict = colocalization_layout(spot_list, **default_values)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/layout.py", line 478, in colocalization_layout
    print(element_dict[f"radio_spots{spot_id}_memory"].get())
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/small_fish_3.12/lib/python3.12/site-packages/FreeSimpleGUI/elements/radio.py", line 248, in get
    return self.TKIntVar.get() == self.EncodedRadioValue
           ^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
version 2.0.2error : dict.setdefault() takes no keyword argumentstraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 300, in compute_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key = initiate_colocalisation(result_dataframe)
                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 178, in initiate_colocalisation
    colocalisation_distance, voxel_size, spots1_key, spots2_key, values = coloc_prompt(
                                                                          ^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/prompts.py", line 303, in coloc_prompt
    layout, element_dict = colocalization_layout(spot_list, **default_values)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/layout.py", line 478, in colocalization_layout
    sg.FileBrowse(key=f"spots{spot_id}_browsebutton", initial_folder=default_values.setdefault(f"spots{spot_id}_browsebutton", default_values["working_directory"], disabled=can_use_memory and not default_values.get(f"radio_spots{spot_id}_load"))),
                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: dict.setdefault() takes no keyword arguments
version 2.1.1error : not enough values to unpack (expected 3, got 2)traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 45, in <module>
    new_result_df, new_cell_result_df, acquisition_id, user_parameters =  add_detection(
                                                                          ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 114, in add_detection
    raise(error)
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 101, in add_detection
    user_parameters, frame_result, spots, clusters, spots_cluster_id, image = launch_detection(
                                                                              ^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/detection.py", line 626, in launch_detection
    spots, image, updated_parameters = interactive_detection(
                                       ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/napari_visualiser.py", line 291, in interactive_detection
    dense_region_deconvolver = _interactive_spot_decomposition(
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/napari_visualiser.py", line 350, in _interactive_spot_decomposition
    dense_regions_deconvolver = DenseRegionDeconvolver(
                                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/_napari_widgets.py", line 817, in __init__
    self.update_dense_regions()
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/_napari_widgets.py", line 834, in update_dense_regions
    z,y,x = coordinates.T
    ^^^^^
ValueError: not enough values to unpack (expected 3, got 2)
version 2.1.1error : cannot access local variable 'cell_label_layer' where it is not associated with a valuetraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 45, in <module>
    new_result_df, new_cell_result_df, acquisition_id, user_parameters =  add_detection(
                                                                          ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 101, in add_detection
    user_parameters, frame_result, spots, clusters, spots_cluster_id, image = launch_detection(
                                                                              ^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/detection.py", line 663, in launch_detection
    spots, clusters, new_cluster_radius, new_min_spot_number, nucleus_label, cell_label = correct_spots(
                                                                                          ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/napari_visualiser.py", line 160, in correct_spots
    new_cell_label = cell_label_layer.data
                     ^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'cell_label_layer' where it is not associated with a value
version 2.1.1error : cannot access local variable 'new_nucleus_label' where it is not associated with a valuetraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 45, in <module>
    new_result_df, new_cell_result_df, acquisition_id, user_parameters =  add_detection(
                                                                          ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 101, in add_detection
    user_parameters, frame_result, spots, clusters, spots_cluster_id, image = launch_detection(
                                                                              ^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/detection.py", line 663, in launch_detection
    spots, clusters, new_cluster_radius, new_min_spot_number, nucleus_label, cell_label = correct_spots(
                                                                                          ^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/napari_visualiser.py", line 175, in correct_spots
    return new_spots, new_clusters,  new_cluster_radius, new_min_spot_number, new_nucleus_label, new_cell_label
                                                                              ^^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'new_nucleus_label' where it is not associated with a value
version 2.1.9error : object of type 'NoneType' has no len()traceback :
Traceback (most recent call last):
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/small_fish_gui/pipeline/_colocalisation.py", line 478, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/small_fish_gui/pipeline/_colocalisation.py", line 368, in _cell_coloc
    target_mask = cell_dataframe.loc[:, target_column].apply(len) == 0
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/series.py", line 4943, in apply
    ).apply()
      ^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/apply.py", line 1422, in apply
    return self.apply_standard()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/apply.py", line 1502, in apply_standard
    mapped = obj._map_values(
             ^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/base.py", line 925, in _map_values
    return algorithms.map_array(arr, mapper, na_action=na_action, convert=convert)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/algorithms.py", line 1743, in map_array
    return lib.map_infer(values, mapper, convert=convert)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pandas/_libs/lib.pyx", line 2999, in pandas._libs.lib.map_infer
TypeError: object of type 'NoneType' has no len()
version 2.1.9error : object of type 'NoneType' has no len()traceback :
Traceback (most recent call last):
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/small_fish_gui/pipeline/_colocalisation.py", line 478, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/small_fish_gui/pipeline/_colocalisation.py", line 368, in _cell_coloc
    target_mask = cell_dataframe.loc[:, target_column].apply(len) == 0
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/series.py", line 4943, in apply
    ).apply()
      ^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/apply.py", line 1422, in apply
    return self.apply_standard()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/apply.py", line 1502, in apply_standard
    mapped = obj._map_values(
             ^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/base.py", line 925, in _map_values
    return algorithms.map_array(arr, mapper, na_action=na_action, convert=convert)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/algorithms.py", line 1743, in map_array
    return lib.map_infer(values, mapper, convert=convert)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pandas/_libs/lib.pyx", line 2999, in pandas._libs.lib.map_infer
TypeError: object of type 'NoneType' has no len()
version 2.1.14error : unhashable type: 'Series'traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 480, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 371, in _cell_coloc
    cell_dataframe.loc[target_mask,target_column] = pd.Series([np.empty(shape=(0,3), dtype=int)]* sum(target_mask), dtype=object)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexing.py", line 908, in __setitem__
    indexer = self._get_setitem_indexer(key)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexing.py", line 781, in _get_setitem_indexer
    return self._convert_to_indexer(key, axis=0)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexing.py", line 1523, in _convert_to_indexer
    return self._get_listlike_indexer(key, axis)[1]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexing.py", line 1559, in _get_listlike_indexer
    keyarr, indexer = ax._get_indexer_strict(key, axis_name)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 6207, in _get_indexer_strict
    indexer = self.get_indexer_for(keyarr)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 6194, in get_indexer_for
    return self.get_indexer(target)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 3956, in get_indexer
    return this._get_indexer(
           ^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 3987, in _get_indexer
    indexer = self._engine.get_indexer(tgt_values)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pandas/_libs/index.pyx", line 351, in pandas._libs.index.IndexEngine.get_indexer
  File "pandas/_libs/hashtable_class_helper.pxi", line 7139, in pandas._libs.hashtable.PyObjectHashTable.lookup
TypeError: unhashable type: 'Series'
version 2.1.14error : Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_1', 'forward')traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 481, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 382, in _cell_coloc
    colocalisation_df[("spots_with_spots_count",coloc_name_forward,"forward")] = colocalisation_df['rna_coords'].apply(
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4312, in __setitem__
    self._set_item_frame_value(key, value)
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4470, in _set_item_frame_value
    raise ValueError(
ValueError: Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_1', 'forward')
version 2.1.14error : 'clustered_spots_coords'traceback :
Traceback (most recent call last):
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 3812, in get_loc
    return self._engine.get_loc(casted_key)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pandas/_libs/index.pyx", line 167, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/index.pyx", line 196, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 7088, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 7096, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'clustered_spots_coords'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 486, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 373, in _cell_coloc
    target_mask = cell_dataframe[~cell_dataframe[target_column].isna()]
                                  ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4113, in __getitem__
    indexer = self.columns.get_loc(key)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 3819, in get_loc
    raise KeyError(key) from err
KeyError: 'clustered_spots_coords'
version 2.1.14error : Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_2', 'forward')traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 486, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 387, in _cell_coloc
    colocalisation_df[("spots_with_spots_count",coloc_name_forward,"forward")] = colocalisation_df['rna_coords'].apply(
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4312, in __setitem__
    self._set_item_frame_value(key, value)
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4470, in _set_item_frame_value
    raise ValueError(
ValueError: Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_2', 'forward')
version 2.1.14error : object of type 'float' has no len()traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 486, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 347, in _cell_coloc
    has_clusters_1 = not acquisition1[CLUSTER_KEY1].iat[0] is None and len(acquisition1[CLUSTER_KEY1].iat[0]) > 0
                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: object of type 'float' has no len()
version 2.1.14error : The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 487, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 351, in _cell_coloc
    has_clusters_2 = not clusters is None and not np.isnan(clusters) and len(clusters) > 0
                                              ^^^^^^^^^^^^^^^^^^^^^^
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
version 2.1.14error : Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_1', 'forward')traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 487, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 392, in _cell_coloc
    colocalisation_df[("spots_with_spots_count",coloc_name_forward,"forward")] = colocalisation_df['rna_coords'].apply(
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4312, in __setitem__
    self._set_item_frame_value(key, value)
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4470, in _set_item_frame_value
    raise ValueError(
ValueError: Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_1', 'forward')
version 2.1.14error : Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_1', 'forward')traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 495, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 400, in _cell_coloc
    colocalisation_df[("spots_with_spots_count",coloc_name_forward,"forward")] = colocalisation_df['rna_coords'].apply(
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4312, in __setitem__
    self._set_item_frame_value(key, value)
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4470, in _set_item_frame_value
    raise ValueError(
ValueError: Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_1', 'forward')
version 2.1.14error : Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_2', 'forward')traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 495, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 400, in _cell_coloc
    colocalisation_df[("spots_with_spots_count",coloc_name_forward,"forward")] = colocalisation_df['rna_coords'].apply(
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4312, in __setitem__
    self._set_item_frame_value(key, value)
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4470, in _set_item_frame_value
    raise ValueError(
ValueError: Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_2', 'forward')
version 2.1.14error : Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_2', 'forward')traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 495, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 400, in _cell_coloc
    colocalisation_df[("spots_with_spots_count",coloc_name_forward,"forward")] = colocalisation_df['rna_coords'].apply(
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4312, in __setitem__
    self._set_item_frame_value(key, value)
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4470, in _set_item_frame_value
    raise ValueError(
ValueError: Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_0 -> acquisition_2', 'forward')
version 2.1.14error : Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_2 -> acquisition_0', 'forward')traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 495, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 400, in _cell_coloc
    colocalisation_df[("spots_with_spots_count",coloc_name_forward,"forward")] = colocalisation_df['rna_coords'].apply(
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4312, in __setitem__
    self._set_item_frame_value(key, value)
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4470, in _set_item_frame_value
    raise ValueError(
ValueError: Cannot set a DataFrame with multiple columns to the single column ('spots_with_spots_count', 'acquisition_2 -> acquisition_0', 'forward')
version 2.1.14error : ['rna_coords']traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 494, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 389, in _cell_coloc
    print(colocalisation_df.dropna(axis=0, subset="rna_coords")['rna_coords'].apply(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 6692, in dropna
    raise KeyError(np.array(subset)[check].tolist())
KeyError: ['rna_coords']
version 2.1.14error : 'clusters'traceback :
Traceback (most recent call last):
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 3812, in get_loc
    return self._engine.get_loc(casted_key)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pandas/_libs/index.pyx", line 167, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/index.pyx", line 196, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 7088, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 7096, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'clusters'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 495, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 347, in _cell_coloc
    clusters = acquisition1[CLUSTER_KEY1].iat[0]
               ~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4113, in __getitem__
    indexer = self.columns.get_loc(key)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 3819, in get_loc
    raise KeyError(key) from err
KeyError: 'clusters'
version 2.1.14error : ['rna_coords']traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 510, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 404, in _cell_coloc
    print(colocalisation_df.dropna(axis=0, subset="rna_coords"))
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 6692, in dropna
    raise KeyError(np.array(subset)[check].tolist())
KeyError: ['rna_coords']
version 2.1.14error : 'float' object is not subscriptabletraceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 502, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 430, in _cell_coloc
    colocalisation_df[("spots_with_clustered_spots_count",coloc_name_forward,"forward")] = colocalisation_df.dropna(axis=0, subset=subset_spots + subset_clusters).apply(
                                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 10401, in apply
    return op.apply().__finalize__(self, method="apply")
           ^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/apply.py", line 916, in apply
    return self.apply_standard()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/apply.py", line 1063, in apply_standard
    results, res_index = self.apply_series_generator()
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/apply.py", line 1081, in apply_series_generator
    results[i] = self.func(v, *self.args, **self.kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 433, in <lambda>
    spot_list2= x[('clustered_spots_coords',acquisition_name_id2,acquisition_id2)][:,:len(voxel_size)],
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
TypeError: 'float' object is not subscriptable
version 2.1.14error : Cannot set a DataFrame with multiple columns to the single column ('spots_with_clustered_spots_count', 'acquisition_0 -> acquisition_2', 'forward')traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 502, in launch_colocalisation
    new_coloc = _cell_coloc(
                ^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 430, in _cell_coloc
    colocalisation_df[("spots_with_clustered_spots_count",coloc_name_forward,"forward")] = colocalisation_df.dropna(axis=0, subset=subset_spots + subset_clusters).apply(
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4312, in __setitem__
    self._set_item_frame_value(key, value)
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4470, in _set_item_frame_value
    raise ValueError(
ValueError: Cannot set a DataFrame with multiple columns to the single column ('spots_with_clustered_spots_count', 'acquisition_0 -> acquisition_2', 'forward')
version 2.1.14error : Cannot set a DataFrame with multiple columns to the single column ('spots_with_clustered_spots_count', 'acquisition_1 -> acquisition_2', 'backward')traceback :
Traceback (most recent call last):
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/main_menu.py", line 80, in <module>
    global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/actions.py", line 379, in compute_colocalisation
    global_coloc_df, cell_coloc_df = launch_colocalisation(
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/gui/animation.py", line 31, in inner
    return funct(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 502, in launch_colocalisation
    acquisition_id1 = acquisition_id1,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/floric/my_projects/small_fish_gui/src/small_fish_gui/pipeline/_colocalisation.py", line 441, in _cell_coloc
    lambda x: spots_colocalisation(
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4312, in __setitem__
    self._set_item_frame_value(key, value)
  File "/home/floric/python_env/3.12_dev/lib/python3.12/site-packages/pandas/core/frame.py", line 4470, in _set_item_frame_value
    raise ValueError(
ValueError: Cannot set a DataFrame with multiple columns to the single column ('spots_with_clustered_spots_count', 'acquisition_1 -> acquisition_2', 'backward')
