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

ENH: Basic test for randomise_parallel

parent 02d87cd7
No related branches found
No related tags found
No related merge requests found
fsl_course_data/seg_struc/vbm/stats
#!/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
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