Skip to content

Commit e9165a3

Browse files
authored
Update smriprep/interfaces/surf.py
1 parent 4624038 commit e9165a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smriprep/interfaces/surf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,6 @@ def make_ribbon(
284284
newpath = os.getcwd()
285285
out_file = os.path.join(newpath, "ribbon.nii.gz")
286286

287-
ribbon = base_img.__class__(ribbons[0] | ribbons[1], base_img.affine, base_img.header)
287+
ribbon = base_img.__class__(ribbons[0] | ribbons[1], base_img.affine, header)
288288
ribbon.to_filename(out_file)
289289
return out_file

0 commit comments

Comments
 (0)