Skip to content

Commit 109fa92

Browse files
RF: changes from @demianw not involving name changes
1 parent 29a5287 commit 109fa92

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nibabel/cifti2/cifti2_axes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Defines :class:`Axis` objects to create, read, and manipulate CIfTI2 files
33
4+
These axes provide an alternative interface to the information in the CIFTI2 header.
45
Each type of CIfTI2 axes describing the rows/columns in a CIfTI2 matrix is given a unique class:
56
67
* :class:`BrainModel`: each row/column is a voxel or vertex
@@ -146,7 +147,7 @@ def to_header(axes):
146147
-------
147148
cifti2.Cifti2Header
148149
"""
149-
axes = list(axes)
150+
axes = tuple(axes)
150151
mims_all = []
151152
matrix = cifti2.Cifti2Matrix()
152153
for dim, ax in enumerate(axes):
@@ -214,6 +215,7 @@ def __getitem__(self, item):
214215
"""
215216
Extracts definition of single row/column or new Axis describing a subset of the rows/columns
216217
"""
218+
pass
217219

218220

219221
class BrainModel(Axis):

0 commit comments

Comments
 (0)