spatialdata-io icon indicating copy to clipboard operation
spatialdata-io copied to clipboard

Using MultiValueEnum for MCMICRO

Open melonora opened this issue 2 years ago • 1 comments

In some cases, there are multiple directories for which it contents needs to be parsed using a specific model. For example, the directory 'registration', 'dearray' and 'probability_maps' all contain images and should be parsed with the spatialdata ImageModel. Currently, the ModeEnum is not able to handle this. An alternative could be the MultiValueEnum which is part of the aenum library.

Currently this would lead to a metadata conflict, but I think it should be considered as otherwise it is not possible to handle enums with multiple values.

melonora avatar Apr 02 '23 15:04 melonora

Thanks for the info. I think it would be a good solution indeed!

LucaMarconato avatar Apr 02 '23 16:04 LucaMarconato