GuckLab / impose

Align microscopy images using custom-defined structural patterns and superimpose those on data from other imaging modalities.
GNU General Public License v3.0
1 stars 0 forks source link

Allow to correctly open bmlab files with repetitions of different dimensions #52

Open raimund-schluessler opened 2 years ago

raimund-schluessler commented 2 years ago

Impose cannot open bmlab files with repetitions of different dimensions correctly, because it stores the meta data per file and has no concept of multiple repetitions in the same file.

Here https://github.com/GuckLab/impose/blob/ec7ea53f888b0e8ddfb0f40f46cd1bc741a29af7/impose/formats/fmt_bm_bmlab.py#L72 we simply use the shape of the first repetition, but this fails if other repetitions have different shapes.