KnottLab / codex

Pipeline processing CODEX output
MIT License
2 stars 1 forks source link

Reading metadata "Position X" instead of "Region X" #11

Open nathanin opened 3 years ago

nathanin commented 3 years ago

Related to multi-region processing. It seems like when a "region" is just 1 tile it gets labelled as "Position X.xlif" in the Metadata files. If we get to a "Region" and the Region X.xlif file doesn't exist, we just need to try loading Position X.xlif before throwing an error

nathanin commented 3 years ago

When we actually go to build the filename to read these areas, the filename is missing the --StageXX part of the filename, since there is only one stage.

We can just see if the number of real_tiles is 1, and if so treat the region as one of these "Position" types.