Skip to content

Commit 8b712ca

Browse files
kaczmarjeffigies
andauthored
use nb.save(img, filename) instead of img.save(...)
Co-Authored-By: Chris Markiewicz <[email protected]>
1 parent 3e4da11 commit 8b712ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/cmdline/conform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ def main(args=None):
6262
cval=0.0,
6363
orientation=kwargs["orientation"])
6464

65-
out_img.to_filename(kwargs["outfile"])
65+
nb.save(out_img, kwargs["outfile"])

0 commit comments

Comments
 (0)