diff --git a/anat_preproc/workflow/rules/gradcorrect_mprageise_mriqc.smk b/anat_preproc/workflow/rules/gradcorrect_mprageise_mriqc.smk index 9f63ef1..feeb4cf 100644 --- a/anat_preproc/workflow/rules/gradcorrect_mprageise_mriqc.smk +++ b/anat_preproc/workflow/rules/gradcorrect_mprageise_mriqc.smk @@ -66,12 +66,14 @@ rule mprageise: uni=join( "derivatives", "gradcorrect", - *inputs.input_path["uni"].replace(config["bids_dir"], "").split(os.sep) + "anat", + os.path.basename(inputs.input_path["uni"]) ), inv2=join( "derivatives", "gradcorrect", - *inputs.input_path["inv2"].replace(config["bids_dir"], "").split(os.sep) + "anat", + os.path.basename(inputs.input_path["inv2"]) ), output: mprageised_uni=bids( diff --git a/anat_preproc/workflow/scripts/gradcorrect b/anat_preproc/workflow/scripts/gradcorrect index 55d137d..32b0946 160000 --- a/anat_preproc/workflow/scripts/gradcorrect +++ b/anat_preproc/workflow/scripts/gradcorrect @@ -1 +1 @@ -Subproject commit 55d137d4af9318a32ffff96fa9f2d3a7eedd42d0 +Subproject commit 32b09469e9b4c0257b92f5c414d0c507b9b193ba