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 when no OMEXML found #46

Closed
sameeul opened this issue Aug 16, 2023 · 0 comments
Closed

IndexError: list index out of range when no OMEXML found #46

sameeul opened this issue Aug 16, 2023 · 0 comments

Comments

@sameeul
Copy link
Member

sameeul commented Aug 16, 2023

Index error happens when trying to create a new OME object and trying to access the first image object in the list. The correct way will probably be to create an image object and append it to the list.

  1508     # Couldn't find OMEXML metadata, scrape metadata from file
   1509     omexml = ome_types.model.OME.construct()
-> 1510     omexml.images[0].Name = Path(self.frontend._file_path).name

sameeul added a commit to sameeul/bfio that referenced this issue Sep 19, 2023
sameeul added a commit to sameeul/bfio that referenced this issue Sep 19, 2023
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