Skip to content

Commit 3fb8bc7

Browse files
committed
add test for space separated affine
1 parent 216421b commit 3fb8bc7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

nibabel/cifti2/tests/test_cifti2io_header.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
datafiles = [DATA_FILE2, DATA_FILE3, DATA_FILE4, DATA_FILE5, DATA_FILE6]
4242

4343

44+
def test_space_separated_affine():
45+
img = ci.Cifti2Image.from_filename(
46+
pjoin(NIBABEL_TEST_DATA, "row_major.dconn.nii"))
47+
48+
4449
def test_read_nifti2():
4550
# Error trying to read a CIFTI-2 image from a NIfTI2-only image.
4651
filemap = ci.Cifti2Image.make_file_map()
1.84 KB
Binary file not shown.

0 commit comments

Comments
 (0)