Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #1

Open
josenimo opened this issue Jun 9, 2023 · 0 comments
Open

IndexError: list index out of range #1

josenimo opened this issue Jun 9, 2023 · 0 comments

Comments

@josenimo
Copy link
Collaborator

josenimo commented Jun 9, 2023

Dear @VictorDidier,

Thank you for developing this nice package. I am currently testing the docker container implementation and I am running into an isssue. I am using a small sample data set, which has 000 -> 003 cycles. Thank you for your help and let me know what other information I can provide.

Output before crashing (for every exposure level):
image

(base) mambauser@b2a9af1b8e0f:/stack_macsima$ python macsima2mc.py -i /data -o /data/output -c 1 3
extracting antigen cycle: 1
extracting bleaching cycle: 0
extracting bleaching cycle: 0
extracting bleaching cycle: 0
extracting antigen cycle: 2
extracting bleaching cycle: 1
extracting bleaching cycle: 1
extracting bleaching cycle: 1
extracting antigen cycle: 3
Traceback (most recent call last):
  File "/stack_macsima/macsima2mc.py", line 611, in <module>
    main()
  File "/stack_macsima/macsima2mc.py", line 568, in main
    antigen_stack_info=create_stack(antigen_info,antigen_cycle_no=i,exp_level=e)
  File "/stack_macsima/macsima2mc.py", line 473, in create_stack
    exp=groupB.loc[(groupB['marker']==s) & (groupB['fov']==1) & (groupB['exposure_level']==exp_level),'exposure'].tolist()[0]
IndexError: list index out of range

Link to sample dataset:
https://filetransfer.mdc-berlin.de/?u=dTzagkaQ&p=C6fa7U32

Best,
Jose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant