From ddbce8ad03466a67e69c30c30c9e860e9679e514 Mon Sep 17 00:00:00 2001 From: Marcel Zwiers Date: Fri, 27 Sep 2024 15:54:18 +0200 Subject: [PATCH] Fix unresolved bidsmap filepath --- bidscoin/bidsmapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bidscoin/bidsmapper.py b/bidscoin/bidsmapper.py index 4d0b76fa..70f0a62c 100755 --- a/bidscoin/bidsmapper.py +++ b/bidscoin/bidsmapper.py @@ -83,7 +83,7 @@ def bidsmapper(sourcefolder: str, bidsfolder: str, bidsmap: str, template: str, bidsmap_old.filepath = Path() bidsmap_new = copy.deepcopy(bidsmap_old if bidsmap_old.filepath.name else template) bidsmap_new.delete_runs() - bidsmap_new.filepath = bidsmapfile + bidsmap_new.filepath = bidsmapfile.resolve() template.options = bidsmap_new.options # Always use the options of the new bidsmap template.plugins = bidsmap_new.plugins # Always use the plugins of the new bidsmap if unzip: