-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add ability to retrieve ROI names in a case insensitive way #44
Comments
Hi @raffaelespinoni, I'm thinking we add an option in get roi_mask_by_name to enable case insensitivity using the code you've provided. I'll try to get this done for this wednesday but feel free to submit your own pull request if you'd like :) |
Thank's, i'm opening a PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: