Skip to content
Snippets Groups Projects
Commit 9f42c13d authored by Matthew Webster's avatar Matthew Webster
Browse files

BF: Portably syntax for kill

parent e17d175a
No related branches found
No related tags found
1 merge request!27BF: Second test should be for eddy not eddy_openmp
......@@ -40,13 +40,13 @@ if which eddy_openmp &> /dev/null; then
--index=$subdatadir/index.txt --acqp=$subdatadir/acqparams.txt \
--bvecs=$subdatadir/bvecs --bvals=$subdatadir/bvals \
--fwhm=0 --topup=$outdir/topup_AP_PA_b0 --flm=quadratic \
--out=$outdir/eddy_unwarped_images & sleep 10; kill -TERM $!
--out=$outdir/eddy_unwarped_images & sleep 10; kill -s TERM $!
elif which eddy &> /dev/null; then
eddy --imain=$subdatadir/dwidata --mask=$outdir/hifi_nodif_brain_mask \
--index=$subdatadir/index.txt --acqp=$subdatadir/acqparams.txt \
--bvecs=$subdatadir/bvecs --bvals=$subdatadir/bvals \
--fwhm=0 --topup=$outdir/topup_AP_PA_b0 --flm=quadratic \
--out=$outdir/eddy_unwarped_image & sleep 10; kill -TERM $!
--out=$outdir/eddy_unwarped_image & sleep 10; kill -s TERM $!
fi
cp $subdatadir/pre_baked/eddy_unwarped_images* $outdir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment