Skip to content

Commit bf8f087

Browse files
committed
RF: rewrite comments with new behavior
From review by CM.
1 parent 44efa75 commit bf8f087

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

nibabel/tests/test_parrec2nii.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ def teardown():
3535
imp.reload(parrec2nii)
3636

3737

38-
def test_parrec2nii_sets_qform_with_code2():
39-
"""Unit test that ensures that set_qform() is called on the new header.
40-
"""
38+
def test_parrec2nii_sets_qform_sform_code1():
39+
# Unit test that ensures that set_qform() is called on the new header.
4140
imp.reload(parrec2nii)
4241
parrec2nii.verbose.switch = False
4342

@@ -75,10 +74,9 @@ def test_parrec2nii_sets_qform_with_code2():
7574

7675

7776
def test_parrec2nii_save_load_qform_code():
78-
"""Tests that after parrec2nii saves file, it has the qform 'code'
79-
set to '2', which means 'aligned', so that other software, e.g. FSL
80-
picks up the qform.
81-
"""
77+
# Tests that after parrec2nii saves file, it has the sform and qform 'code'
78+
# set to '1', which means 'scanner', so that other software, e.g. FSL picks
79+
# up the qform.
8280
imp.reload(parrec2nii)
8381
parrec2nii.verbose.switch = False
8482

0 commit comments

Comments
 (0)