From 77e61a22e4ef0934df7bb733c26836e6627911a3 Mon Sep 17 00:00:00 2001 From: arnaudbore Date: Fri, 13 Mar 2026 10:02:14 -0400 Subject: [PATCH] unset PYTHON var --- modules/nf-neuro/betcrop/synthstrip/main.nf | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/nf-neuro/betcrop/synthstrip/main.nf b/modules/nf-neuro/betcrop/synthstrip/main.nf index 30197014..792e8037 100644 --- a/modules/nf-neuro/betcrop/synthstrip/main.nf +++ b/modules/nf-neuro/betcrop/synthstrip/main.nf @@ -30,6 +30,7 @@ process BETCROP_SYNTHSTRIP { def model = "$weights" ? "--model $weights" : "" """ + unset PYTHONNOUSERSITE mri_synthstrip -i $image --out ${prefix}__bet_image.nii.gz --mask ${prefix}__brain_mask.nii.gz $gpu $cpu $border $nocsf $model cat <<-END_VERSIONS > versions.yml