Skip to content

Commit b7a3326

Browse files
demianweffigies
authored andcommitted
Remove affine attribute from CIFTI2 image __init__
1 parent bcbfb78 commit b7a3326

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

nibabel/cifti2/cifti2.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -952,11 +952,6 @@ def __init__(self, data=None, header=None, nifti_header=None):
952952
Object containg image data. It should be some object that retuns an
953953
array from ``np.asanyarray``. It should have a ``shape`` attribute
954954
or property
955-
affine : None or (4,4) array-like
956-
homogenous affine giving relationship between voxel coordinates and
957-
world coordinates. Affine can also be None. In this case,
958-
``obj.affine`` also returns None, and the affine as written to disk
959-
will depend on the file format.
960955
header : Cifti2Header object
961956
nifti_header : None or mapping or nifti2 header instance, optional
962957
metadata for this image format

0 commit comments

Comments
 (0)