Skip to content

Commit e890e3e

Browse files
author
Robert D. Vincent
committed
BF: back out unnecessary change.
1 parent 4aba3d8 commit e890e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/minc1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def _get_valid_range(self):
146146
try:
147147
valid_range = [self._image.valid_min,
148148
self._image.valid_max]
149-
except (AttributeError, KeyError):
149+
except AttributeError:
150150
valid_range = [info.min, info.max]
151151
if valid_range[0] < info.min or valid_range[1] > info.max:
152152
raise ValueError('Valid range outside input '

0 commit comments

Comments
 (0)