From 2b304a8ae9895b791f4fe295c7fcb62fdb990e68 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Wed, 28 Jul 2021 17:32:30 +0100 Subject: [PATCH] TEST: Update melodicanalysis.getDataFile test --- tests/test_melodicanalysis.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/test_melodicanalysis.py b/tests/test_melodicanalysis.py index 9a8c251ac..f80e4def0 100644 --- a/tests/test_melodicanalysis.py +++ b/tests/test_melodicanalysis.py @@ -129,6 +129,12 @@ def test_getDataFile(): 'analysis.feat/filtered_func_data.nii.gz'], 'analysis.feat/filtfunc.ica', 'analysis.feat/filtered_func_data.nii.gz'), + (['analysis.feat/filtfunc.ica/melodic_IC.nii.gz', + 'analysis.feat/filtfunc.ica/melodic_mix', + 'analysis.feat/filtfunc.ica/melodic_FTmix', + 'analysis.feat/filtered_func_data_clean.nii.gz'], + 'analysis.feat/filtfunc.ica', + 'analysis.feat/filtered_func_data_clean.nii.gz'), (['no/analysis/dirs/here/melodic_IC.nii.gz'], 'no/analysis/dirs/here/', None), @@ -137,7 +143,6 @@ def test_getDataFile(): 'analysis.feat/analysis.ica/melodic_FTmix'], 'analysis.feat/analysis.ica', None), - ] for paths, meldir, expected in testcases: -- GitLab