scverse / scverse/spatialdata-io
Using MultiValueEnum for MCMICRO
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 103
- Forks
- 65
- Avg merge
- 1h 8m
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ModeEnum implementation and the metadata handling involved in parsing directories. Compare the current enum behavior with aenum's MultiValueEnum, focusing on registration, dearray, and probability_maps. Done should mean these directories can use the ImageModel without a metadata conflict.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100