From 602f7044613c1db96dba1cae80f77b0519a95c79 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Mon, 2 Sep 2024 09:48:06 +0200 Subject: [PATCH] fix tests --- tests/test_bids_file.m | 2 ++ tests/test_bids_schema.m | 13 ++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/tests/test_bids_file.m b/tests/test_bids_file.m index 72a91147..0f964ee2 100644 --- a/tests/test_bids_file.m +++ b/tests/test_bids_file.m @@ -485,6 +485,8 @@ function test_reorder_schemaless() 'task' 'tracksys' 'acq' + 'nuc' + 'voi' 'ce' 'trc' 'stain' diff --git a/tests/test_bids_schema.m b/tests/test_bids_schema.m index 845841ac..75356403 100644 --- a/tests/test_bids_schema.m +++ b/tests/test_bids_schema.m @@ -20,6 +20,7 @@ function test_get_datatypes() 'ieeg', ... 'meg', ... 'micr', ... + 'mrs', ... 'motion', ... 'nirs', ... 'perf', ... @@ -226,7 +227,15 @@ function test_return_suffix_groups_for_datatype() assertEqual(datatypes, {'func'}); datatypes = schema.return_datatypes_for_suffix('events'); - expected_output = {'beh', 'eeg', 'func', 'ieeg', 'meg', 'motion', 'nirs', 'pet'}; + expected_output = {'beh', ... + 'eeg', ... + 'func', ... + 'ieeg', ... + 'meg', ... + 'motion', ... + 'mrs', ... + 'nirs', ... + 'pet'}; assertEqual(sort(datatypes), sort(expected_output)); datatypes = schema.return_datatypes_for_suffix('m0scan'); @@ -326,6 +335,8 @@ function test_schemaless() 'task'; ... 'tracksys'; ... 'acquisition'; ... + 'nucleus'; ... + 'volume'; ... 'ceagent'; ... 'tracer'; ... 'stain'; ...