From b55811c377a0cefd00ff7c35ef8fb11b9076ed65 Mon Sep 17 00:00:00 2001 From: Gab-D-G Date: Sun, 12 Nov 2023 15:08:23 -0500 Subject: [PATCH] Correct bug, robust inho cor wasn't working because of the new inherit unbiased option. --- rabies/preprocess_pkg/inho_correction.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rabies/preprocess_pkg/inho_correction.py b/rabies/preprocess_pkg/inho_correction.py index aaf2d70..ed4e10b 100644 --- a/rabies/preprocess_pkg/inho_correction.py +++ b/rabies/preprocess_pkg/inho_correction.py @@ -153,7 +153,9 @@ def init_inho_correction_wf(opts, image_type, output_folder, num_procs, name='in name='init_InhoCorrection', mem_gb=0.6*opts.scale_min_memory) from .commonspace_reg import init_commonspace_reg_wf - commonspace_reg_wf = init_commonspace_reg_wf(opts=opts, commonspace_masking=opts.bold_robust_inho_cor['masking'], brain_extraction=opts.bold_robust_inho_cor['brain_extraction'], template_reg=opts.bold_robust_inho_cor['template_registration'], fast_commonspace=False, output_folder=output_folder, transforms_datasink=None, num_procs=num_procs, output_datasinks=False, joinsource_list=joinsource_list, name=commonspace_wf_name) + commonspace_reg_wf = init_commonspace_reg_wf(opts=opts, commonspace_masking=opts.bold_robust_inho_cor['masking'], brain_extraction=opts.bold_robust_inho_cor['brain_extraction'], + template_reg=opts.bold_robust_inho_cor['template_registration'], fast_commonspace=False, inherit_unbiased=False, output_folder=output_folder, + transforms_datasink=None, num_procs=num_procs, output_datasinks=False, joinsource_list=joinsource_list, name=commonspace_wf_name) workflow.connect([ (inputnode, init_inho_cor_node, [