From 3a3e0dd9f855314e734dc628f03d14abc48bcd99 Mon Sep 17 00:00:00 2001 From: thibaultdvx Date: Wed, 18 Dec 2024 18:18:23 +0100 Subject: [PATCH] path issue --- clinicadl/utils/iotools/clinica_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clinicadl/utils/iotools/clinica_utils.py b/clinicadl/utils/iotools/clinica_utils.py index 963904416..55ba7a5e8 100644 --- a/clinicadl/utils/iotools/clinica_utils.py +++ b/clinicadl/utils/iotools/clinica_utils.py @@ -227,7 +227,7 @@ def create_subs_sess_list( if not file_name: file_name = "subjects_sessions_list.tsv" - subjs_sess_tsv = open(subjs_sess_tsv_path, "w") + subjs_sess_tsv = open(output_dir / file_name, "w") subjs_sess_tsv.write("participant_id" + "\t" + "session_id" + "\n") if is_bids_dir: