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

Support missing sections #25

Open
ganctom opened this issue Aug 30, 2022 · 1 comment
Open

Support missing sections #25

ganctom opened this issue Aug 30, 2022 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@ganctom
Copy link
Collaborator

ganctom commented Aug 30, 2022

If there is a missing section in the original data and consequently in the parsed folder structure, this leads to error during loading sections for alignment, because currently it is not handled.

In the following example, the original stack does not have a section #2, which fails to be interpreted by sofima_tasks.py at line 102

/tungstenfs/scratch/gmicro_share/_software/CondaEnvs/Linux/faim_sofima/lib/python3.9/site-packages/sbem/tile_stitching/sofima_tasks.py", line 102, in
block.sections[(i, grid_index)] for i in range(start_section, end_section + 1)
KeyError: (2, 0)

@ganctom ganctom added the bug Something isn't working label Aug 30, 2022
@ganctom ganctom added the enhancement New feature or request label Aug 30, 2022
@ganctom
Copy link
Collaborator Author

ganctom commented Jan 10, 2023

@TomasGancarcik to verify in current em-alignment pipeline version.

@ganctom ganctom added this to the Delivered milestone Jan 10, 2023
@ganctom ganctom assigned ganctom and unassigned tibuch Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants