Skip to content

Commit e253ae8

Browse files
committed
fix pep8
1 parent fb5d070 commit e253ae8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dmriprep/utils/images.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ def rescale_b0(in_file, mask_file, out_path=None):
3838
median_signal = np.median(data[mask_data > 0, ...], axis=0)
3939
rescaled_data = 1000 * data / median_signal
4040
hdr = img.header.copy()
41-
nb.Nifti1Image(rescaled_data.astype(hdr.get_data_dtype()), img.affine, hdr).to_filename(out_path)
41+
nb.Nifti1Image(
42+
rescaled_data.astype(hdr.get_data_dtype()), img.affine, hdr
43+
).to_filename(out_path)
4244
return out_path
4345

4446

0 commit comments

Comments
 (0)