From 07ac76f3aaba27d7ffd2298e3e81916e19f982b8 Mon Sep 17 00:00:00 2001 From: Spiros Maggioros Date: Fri, 1 Nov 2024 20:51:04 +0200 Subject: [PATCH] Try working only with the temp_working_dir for bids input --- NiChart_DLMUSE/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NiChart_DLMUSE/__main__.py b/NiChart_DLMUSE/__main__.py index 2cb33c8..ac3e05d 100644 --- a/NiChart_DLMUSE/__main__.py +++ b/NiChart_DLMUSE/__main__.py @@ -153,6 +153,7 @@ def main() -> None: os.system("DLICV -i ./dummy -o ./dummy --clear_cache") os.system("DLMUSE -i ./dummy -o ./dummy --clear_cache") + working_dir = os.path.join(os.path.abspath(out_dir)) # Run pipeline if args.bids == True: @@ -182,8 +183,7 @@ def main() -> None: # TODO | FIX: Transform normal output data to BIDS output - merge_output_data(out_dir) - merge_bids_output_data(out_dir) + merge_bids_output_data(working_dir) remove_subfolders("../raw_temp_T1") remove_subfolders(out_dir)