Skip to content

IndexError: list index out of range #289

@aurallaura

Description

@aurallaura

I am encountering the error after running the below script and getting the error following. The script was working until I had a hard drive failure and had to reinstall everything. I imported FISSA and it says that I have the 1.0.0 installed. I tried importing the 0.5.3 version (using pip install fissa==0.5.3) because the python script I am using was written in 2019 but says there is an issue with the package.

#initiate experiment
exp = fissa.Experiment(tiff_folder,rois_FISSA,output_folder)
exp.separate(redo_prep=True)
Extracting traces:   0%|                                                                                                                   | 0/5 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "", line 1, in
  File "/Users/anaconda3/lib/python3.11/site-packages/fissa/core.py", line 1364, in separate
    self.separation_prep(redo_prep)
  File "/Users/anaconda3/lib/python3.11/site-packages/fissa/core.py", line 1259, in separation_prep
    n_roi = len(outputs[0][1])
                ~~~~~~~^^^
IndexError: list index out of range

Is this likely an error with the version of FISSA or something else?

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