add ability to retrieve ROI names in a case insensitive way
Open
- Dominant language
- Python
- Stars
- 256
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
HI,
i'm experiencing problem with low quality ROI labels (written like this: Heart, heart, HEART),
maybe an option to extract case insensitive ROIs could be useful to other also
I have a quick_fix in rtstruct.py:98
if structure_roi.ROIName.casefold() == name.casefold():
maybe a more general option while using ".get_roi__mask_by_name" could be better
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 reading rtstruct.py around line 98 and the get_roi__mask_by_name entry point to understand the existing ROI-name comparison. Review linked pull request #47 for the work already underway. Done should provide an agreed way to retrieve ROI names without case-sensitive matching.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100