Skip to content

Error in co-localization after several iterations #6

@SlimaniF

Description

@SlimaniF

After several launch of co-localization analysis software seems to get mixed up with spots_key (load vs memory).
Resulting error below

version 2.1.15error : 'int' object has no attribute 'endswith'traceback :
Traceback (most recent call last):
File "C:\Users\uid-1072\AppData\Local\anaconda3\envs\small_fish\Lib\site-packages\small_fish_gui\main_menu.py", line 80, in
global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\uid-1072\AppData\Local\anaconda3\envs\small_fish\Lib\site-packages\small_fish_gui\pipeline\actions.py", line 344, in compute_colocalisation
Spots2 = load_spots(spots2_key)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\uid-1072\AppData\Local\anaconda3\envs\small_fish\Lib\site-packages\small_fish_gui\pipeline\spots.py", line 104, in load_spots
if table_path.endswith('.csv') :
^^^^^^^^^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'endswith'
version 2.1.15error : 'int' object has no attribute 'endswith'traceback :
Traceback (most recent call last):
File "C:\Users\uid-1072\AppData\Local\anaconda3\envs\small_fish\Lib\site-packages\small_fish_gui\main_menu.py", line 80, in
global_coloc_df, cell_coloc_df, acquisition_id = compute_colocalisation(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\uid-1072\AppData\Local\anaconda3\envs\small_fish\Lib\site-packages\small_fish_gui\pipeline\actions.py", line 344, in compute_colocalisation
Spots2 = load_spots(spots2_key)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\uid-1072\AppData\Local\anaconda3\envs\small_fish\Lib\site-packages\small_fish_gui\pipeline\spots.py", line 104, in load_spots
if table_path.endswith('.csv') :
^^^^^^^^^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'endswith'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions