DeDriftAndResample pipeline prepared for v4.0.0 release
Pre-release
Pre-release
tbbrown
released this
24 Apr 17:13
·
1484 commits
to master
since this release
Prepared DeDriftAndResample Pipeline for v4.0.0 release
Main Script: DeDriftAndResample/DeDriftAndResamplePipeline.sh
- Made sure it has a
usage
function that usescat <<EOF
a. Although several of the parameter descriptions are still TBW - Have a
get_options
function that uses global variable names that are similar to the ones that are used in themain
function yet clearly recognizable as those set by theget_options
function (names start withp_
) main
function gets its parameters positionallymain
function useslocal
variables instead of global variables from theget_options
function- All communication with the user (informational and error messages) are via calls to
log_*
functions defined in a shared standard library of bash functions - Verification of the necessary environment variables is done "first thing" in the "global" (i.e. non-function) part of the script.
- The global (non-function) part of the script checks for the user of positional or named parameters on the command line and only uses the
get_options
function if named parameters are used on the command line. This (along with some of the other changes above) allows invocation of the script using positional parameters on the command line if desired. - All references to the (unsupported) use of Octave instead of MATLAB have been removed
- Checks for environment variable
MATLAB_COMPILER_RUNTIME
if the MATLAB run mode is compiled MATLAB - Defaults to using interpreted MATLAB
Tests run
"Run to completion" tests (not vetted results tests) have been performed using this release with a pipeline setup file configured to use the following tools:
- Customized version of FSL v5.0.9 - used by the
ReApplyFixPipeline.sh
script which is invoked by theDeDriftAndResamplePipeline.sh
script.- "newer-than-released" version of
bedpostx_gpu
- "newer-than-released" version of
eddy_cuda
- "newer-than-released" version of
melodic
- "newer-than-released" version of
- Connectome Workbench v1.2.3
- MATLAB R2016b - used by
ReApplyFixPipeline.sh
script which is invoked by theDeDriftAndResamplePipeline.sh
script.