Open raffaelespinoni opened 2 years ago
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
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