langtech-bsc / magma

A suite of automation workflows to streamline machine learning tasks in HPC
Apache License 2.0
0 stars 0 forks source link

fix saving env variables #9

Closed ankush13r closed 3 months ago

ankush13r commented 3 months ago

The workflow launch_job.yml has functionality to save env variables to job.env. When it try to save these env variable doesn't check if the variable is empty, as we can see in the following example (last three varaibles are empty) :

JOB_BRANCH=main
JOB_NAME=launch2hpc-4
JOB_REPO_NAME=launch2hpc
GPFS_JUPYTER_WORKING_DIR=
GPFS_SINGULARITY_IMAGE_REGISTRY_PATH=
GPFS_MODELS_REGISTRY_PATH=