MakeAverageDataset pipeline prepared for v4.0.0 release
Pre-release
Pre-release
·
1520 commits
to master
since this release
Main Script: Supplemental/MakeAverageDataset/MakeAverageDataset.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 are clearly recognizable as those set by theget_options
function (names start withp_
for parameter) main
function gets its parameters positionallymain
function uses local variables instead of global variables from theget_options
function- All communication with the user (informational, debugging, or 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" (non-function) part of the script.
- The global (non-function) part of the script checks for the use of positional or named parameters on the command line and only uses the
get_options
function if named parameters are used. This (along with some of the other changes above) allows invocation of the script using positional parameters or named parameters.