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 0fb8920 commit e4c5b52Copy full SHA for e4c5b52
nibabel/cmdline/diff.py
@@ -61,7 +61,9 @@ def are_values_different(*values):
61
if not np.any(value0_nans):
62
value0_nans = None
63
except TypeError as exc:
64
- if "not supported" in str(exc):
+ str_exc = str(exc)
65
+ # Not implemented in numpy 1.7.1
66
+ if "not supported" in str_exc or "ot implemented" in str_exc:
67
68
else:
69
raise
0 commit comments