Skip to content

Commit 58d37a2

Browse files
committed
FIX: Python 3.7 compatiblity
1 parent a8b6ff9 commit 58d37a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/nifti1.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2409,5 +2409,5 @@ def _get_analyze_compat_dtype(arr):
24092409
return np.dtype('float32')
24102410

24112411
raise ValueError(
2412-
f"Cannot find analyze-compatible dtype for array with {dtype=!s} (min={mn}, max={mx})"
2412+
f"Cannot find analyze-compatible dtype for array with dtype={dtype} (min={mn}, max={mx})"
24132413
)

0 commit comments

Comments
 (0)