From 9ee6a32d16a8b8cc855a0f1f0539edde4e4b6894 Mon Sep 17 00:00:00 2001 From: Johanna Bayer Date: Wed, 7 Dec 2022 12:39:41 +1100 Subject: [PATCH] de-bug test --- PhysIO/tests/unit/readin/tapas_physio_readin_bids_test.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/PhysIO/tests/unit/readin/tapas_physio_readin_bids_test.m b/PhysIO/tests/unit/readin/tapas_physio_readin_bids_test.m index 76593e14..4fdc368c 100644 --- a/PhysIO/tests/unit/readin/tapas_physio_readin_bids_test.m +++ b/PhysIO/tests/unit/readin/tapas_physio_readin_bids_test.m @@ -131,7 +131,7 @@ function test_compare_write2bids_consistency(testCase) pathExamples = tapas_physio_get_path_examples(pathPhysioPublic); % location where the reference files are stored - step norm - pathReferenceFiles = fullfile(pathExamples, 'TestReferenceResults', 'write2bids', 'norm'); + pathReferenceFiles = fullfile(pathExamples, 'TestReferenceResults', 'examples','write2bids', 'norm'); % location of the physio example file that will be passed to create_main_regrssors % pathExampleData = fullfile(pathExamples, 'write2bids', 'norm'); @@ -144,10 +144,9 @@ function test_compare_write2bids_consistency(testCase) physio = tapas_physio_main_create_regressors(physio); % read json file from example data - cd(fullfile(pathExampleData, 'physio_out')) % go on here - fileName = 'sub-01_task_desc_physio_norm.json'; % filename in JSON extension + fileName = './physio_out/sub-01_task_desc_physio_norm.json'; % filename in JSON extension str = fileread(fileName); % dedicated for reading files as text ExampleJson = jsondecode(str);