Skip to content

Commit

Permalink
Merge pull request #93 from arnaudbore/FIX_input_philips_data
Browse files Browse the repository at this point in the history
[BF] Fix force
  • Loading branch information
arnaudbore authored Sep 12, 2024
2 parents cc56f0f + 931ad1e commit 9dbb485
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ process Bet_Prelim_DWI {
export ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS=1
export OMP_NUM_THREADS=1
export OPENBLAS_NUM_THREADS=1
scil_image_math.py convert $dwi $dwi --data_type float32 --force
scil_image_math.py convert $dwi $dwi --data_type float32 -f
scil_extract_b0.py $dwi $bval $bvec ${sid}__b0.nii.gz --mean\
--b0_thr $params.b0_thr_extract_b0 --force_b0_threshold
bet ${sid}__b0.nii.gz ${sid}__b0_bet.nii.gz -m -R -f $params.bet_prelim_f
Expand Down Expand Up @@ -654,8 +654,8 @@ process Topup {
export OPENBLAS_NUM_THREADS=1
export ANTS_RANDOM_SEED=1234
scil_image_math.py convert $rev_b0 $rev_b0 --force --data_type float32
scil_image_math.py convert $b0 $b0 --force --data_type float32
scil_image_math.py convert $rev_b0 $rev_b0 -f --data_type float32
scil_image_math.py convert $b0 $b0 -f --data_type float32
scil_image_math.py concatenate $rev_b0 $rev_b0 ${sid}__concatenated_rev_b0.nii.gz
scil_image_math.py mean ${sid}__concatenated_rev_b0.nii.gz ${sid}__rev_b0_mean.nii.gz
antsRegistrationSyNQuick.sh -d 3 -f $b0 -m ${sid}__rev_b0_mean.nii.gz -o output -t r -e 1
Expand Down

0 comments on commit 9dbb485

Please sign in to comment.