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 a3f51aa commit 42fb61dCopy full SHA for 42fb61d
nibabel/nifti1.py
@@ -1165,8 +1165,7 @@ def get_slope_inter(self):
1165
if slope == 0 or not np.isfinite(slope):
1166
return None, None
1167
if not np.isfinite(inter):
1168
- raise HeaderDataError(
1169
- f'Valid slope but invalid intercept {inter}')
+ raise HeaderDataError(f'Valid slope but invalid intercept {inter}')
1170
return slope, inter
1171
1172
def set_slope_inter(self, slope, inter=None):
0 commit comments