Project-MONAI/MONAI
View on GitHubRaise the exception when LoadImage has a reader specified but it is not installed
Open
#7,437 opened on Feb 3, 2024
Contribution wantedenhancementgood first issue
Repository metrics
- Stars
- (4,800 stars)
- PR merge metrics
- (Avg merge 20d 8h) (35 merged PRs in 30d)
Description
Describe the bug
Running LoadImage(reader="ITKReader") without itk installed will just warn that itk is not installed and will proceed with using PILReader instead.
Expected behavior If the specified reader is not installed, an exception should be raised.