Skip to content

Commit d4264e4

Browse files
committed
TST: Exercise alternative grayordinates
1 parent 7db9787 commit d4264e4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

nibabies/tests/test_config.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,23 @@ def test_config_spaces():
104104
] == ['MNIInfant_cohort-1_res-native', 'MNI152NLin6Asym_res-2', 'MNIInfant_cohort-1_res-2']
105105
_reset_config()
106106

107+
config.execution.output_spaces = None
108+
config.workflow.cifti_output = '170k'
109+
spaces = _load_spaces(1)
110+
111+
assert [str(s) for s in spaces.get_standard(full_spec=True)] == [
112+
'MNIInfant:cohort-1:res-native', # Default output space
113+
'MNI152NLin6Asym:res-1',
114+
'MNIInfant:cohort-1:res-1',
115+
]
116+
117+
assert [
118+
format_reference((s.fullname, s.spec))
119+
for s in spaces.references
120+
if s.standard and s.dim == 3
121+
] == ['MNIInfant_cohort-1_res-native', 'MNI152NLin6Asym_res-1', 'MNIInfant_cohort-1_res-1']
122+
_reset_config()
123+
107124

108125
@pytest.mark.parametrize(
109126
('master_seed', 'ants_seed', 'numpy_seed'), [(1, 17612, 8272), (100, 19094, 60232)]

0 commit comments

Comments
 (0)