From ffcdf6eb790118d657b6a29d566cc89d8cc715cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Cl=C3=A9net?= Date: Fri, 13 Oct 2023 11:50:24 +0200 Subject: [PATCH] Issue with SelectFiles' base_directory --- narps_open/pipelines/team_08MQ.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/narps_open/pipelines/team_08MQ.py b/narps_open/pipelines/team_08MQ.py index b0ac2562..98918e30 100644 --- a/narps_open/pipelines/team_08MQ.py +++ b/narps_open/pipelines/team_08MQ.py @@ -685,15 +685,10 @@ def get_group_level_analysis_sub_workflow(self, method): self.directories.dataset_dir, 'participants.tsv') } - select_files = Node( - SelectFiles( - templates, - base_directory = self.directories.output_dir, - force_list = True - ), - name = 'select_files', - ) - + select_files = Node(SelectFiles(templates), name = 'select_files') + select_files.inputs.base_directory = self.directories.dataset_dir + select_files.inputs.force_list = True + # Datasink node - to save important files data_sink = Node( DataSink(base_directory = self.directories.output_dir),