Previously, environment variables set in the environment setup were not visible to singularity if running with --cleanenv or --containall.
Also switch order of setting environment variables and pre_job_script to allow the script to use the environment variables (useful to write more generic scripts).
Previously, environment variables set in the environment setup were not visible to singularity if running with
--cleanenv
or--containall
.Also switch order of setting environment variables and pre_job_script to allow the script to use the environment variables (useful to write more generic scripts).
Partially addresses #68.