This if statement > https://github.com/brain-life/app-FSLBET/blob/198cdd673c7aa8675d4ea4023fa01c61c18f64c9/main#L6
Can be simplified to following..
which module && module load fsl
which will return true if module command exists, if it does, it just loads it. I think we should avoid checking for $ENV which might not be set properly on some environment.
This if statement > https://github.com/brain-life/app-FSLBET/blob/198cdd673c7aa8675d4ea4023fa01c61c18f64c9/main#L6
Can be simplified to following..
which module && module load fslwhich will return true if module command exists, if it does, it just loads it. I think we should avoid checking for $ENV which might not be set properly on some environment.