We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aba3d8 commit e890e3eCopy full SHA for e890e3e
nibabel/minc1.py
@@ -146,7 +146,7 @@ def _get_valid_range(self):
146
try:
147
valid_range = [self._image.valid_min,
148
self._image.valid_max]
149
- except (AttributeError, KeyError):
+ except AttributeError:
150
valid_range = [info.min, info.max]
151
if valid_range[0] < info.min or valid_range[1] > info.max:
152
raise ValueError('Valid range outside input '
0 commit comments