MONAI
MONAI copied to clipboard
Enhance ExtractDataKeyFromMetaKeyd to work with MetaTensor
Fixes #7562 .
Description
This pull request improves ExtractDataKeyFromMetaKey, enabling it to extract keys from a MetaTensor.
Types of changes
- [x] Non-breaking change (fix or new feature that would not break existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing functionality to change).
- [ x] New tests added to cover the changes.
- [x ] Integration tests passed locally by running
./runtests.sh -f -u --net --coverage. - [ x] Quick tests passed locally by running
./runtests.sh --quick --unittests --disttests. - [ ] In-line docstrings updated.
- [ ] Documentation updated, tested
make htmlcommand in thedocs/folder.