From b5f23e76d1d82aeac949e49cdcb26854adca3b24 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 1 Mar 2023 16:54:15 +0000 Subject: [PATCH] dlr eo: allow setting DIR_OUTPUT directly --- aimodel/slurm-TEST-deeplabv3p-rainfall.job | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aimodel/slurm-TEST-deeplabv3p-rainfall.job b/aimodel/slurm-TEST-deeplabv3p-rainfall.job index 3083a53..180012a 100755 --- a/aimodel/slurm-TEST-deeplabv3p-rainfall.job +++ b/aimodel/slurm-TEST-deeplabv3p-rainfall.job @@ -60,7 +60,7 @@ if [[ -n "${POSTFIX}" ]]; then CODE="${CODE}_${POSTFIX}"; fi -DIR_OUTPUT="output/$(date -u --rfc-3339=date)_${CODE}"; +DIR_OUTPUT="${DIR_OUTPUT:-output/$(date -u --rfc-3339=date)_${CODE}}"; mkdir -p "${DIR_OUTPUT}";