From 5fb9edd96b2b3dff0f15d9e424923b4c0b45cc46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Cl=C3=A9net?= Date: Mon, 29 Apr 2024 11:04:46 +0200 Subject: [PATCH] Changing unit test for o21U --- tests/pipelines/test_team_O21U.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/pipelines/test_team_O21U.py b/tests/pipelines/test_team_O21U.py index 3557164d..3d65297a 100644 --- a/tests/pipelines/test_team_O21U.py +++ b/tests/pipelines/test_team_O21U.py @@ -95,11 +95,11 @@ def test_confounds_file(temporary_data_dir): """ Test the get_confounds_file method """ # Get input and reference output file - confounds_file = join( - Configuration()['directories']['test_data'], 'pipelines', 'confounds.tsv') - reference_file = join( + confounds_file = abspath(join( + Configuration()['directories']['test_data'], 'pipelines', 'confounds.tsv')) + reference_file = abspath(join( Configuration()['directories']['test_data'], - 'pipelines', 'team_O21U', 'confounds.tsv') + 'pipelines', 'team_O21U', 'confounds.tsv')) # Create new confounds file confounds_node = Node(Function(