Skip to content

Commit 42fb61d

Browse files
committed
STY: continue error in one line
1 parent a3f51aa commit 42fb61d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nibabel/nifti1.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,8 +1165,7 @@ def get_slope_inter(self):
11651165
if slope == 0 or not np.isfinite(slope):
11661166
return None, None
11671167
if not np.isfinite(inter):
1168-
raise HeaderDataError(
1169-
f'Valid slope but invalid intercept {inter}')
1168+
raise HeaderDataError(f'Valid slope but invalid intercept {inter}')
11701169
return slope, inter
11711170

11721171
def set_slope_inter(self, slope, inter=None):

0 commit comments

Comments
 (0)