Skip to content

Commit 67ace2f

Browse files
kaczmarjeffigies
andauthored
keep input class by default in conform
Co-Authored-By: Chris Markiewicz <[email protected]>
1 parent 8b712ca commit 67ace2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def conform(from_img,
319319
order=3,
320320
cval=0.0,
321321
orientation='RAS',
322-
out_class=Nifti1Image):
322+
out_class=None):
323323
""" Resample image to ``out_shape`` with voxels of size ``voxel_size``.
324324
325325
Using the default arguments, this function is meant to replicate most parts

0 commit comments

Comments
 (0)