gaps.hpc.format_env#

format_env(conda_env=None)[source]#

Get special sbatch request strings for SLURM conda environments.

Parameters:

conda_env (str, optional) – Conda environment to activate. By default, None, which returns an empty string.

Returns:

env_str (str) – SBATCH shell script source activate environment request string.