diff --git a/unit_tests/randomise_parallel/feedsInputs b/unit_tests/randomise_parallel/feedsInputs new file mode 100644 index 0000000000000000000000000000000000000000..809af077727e3fabe169e6a4c6b6fbef3b1f37ee --- /dev/null +++ b/unit_tests/randomise_parallel/feedsInputs @@ -0,0 +1 @@ +fsl_course_data/seg_struc/vbm/stats diff --git a/unit_tests/randomise_parallel/feedsRun b/unit_tests/randomise_parallel/feedsRun new file mode 100755 index 0000000000000000000000000000000000000000..492099f0780d6a46915a3cdd92dffabdb94db196 --- /dev/null +++ b/unit_tests/randomise_parallel/feedsRun @@ -0,0 +1,14 @@ +#!/bin/bash -e + +outdir=$1 +datadir=$2 +subdatadir=$datadir/fsl_course_data/seg_struc/vbm/stats + +randomise_parallel -i $subdatadir/GM_mod_merg_s3 -o $outdir/output -m $subdatadir/GM_mask -d $subdatadir/design.mat -t $subdatadir/design.con -n 900 -x + +fslpython -c "exit(0 if $(fslstats $outdir/output_tstat1 -M) == 0.613910 else 1)" +fslpython -c "exit(0 if $(fslstats $outdir/output_vox_corrp_tstat1 -M) == 0.084046 else 1)" + +rm -rf "$outdir/output"* + +exit 0