Skip to content

Commit fb05822

Browse files
effigiesmgxd
andauthored
Update smriprep/interfaces/surf.py
Co-authored-by: Mathias Goncalves <[email protected]>
1 parent e9165a3 commit fb05822

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

smriprep/interfaces/surf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ 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, header)
287+
ribbon_data = ribbons[0] | ribbons[1]
288+
ribbon = base_img.__class__(ribbon_data, base_img.affine, header)
288289
ribbon.to_filename(out_file)
289290
return out_file

0 commit comments

Comments
 (0)