mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
slurm: fix sanity logic
This commit is contained in:
parent
79b231198f
commit
c17a4ca05a
1 changed files with 3 additions and 2 deletions
|
@ -46,8 +46,7 @@ if [[ ! -r "${WATER}" ]]; then
|
|||
fi
|
||||
|
||||
if [[ ! -d "${OUTPUT}" ]]; then
|
||||
echo "Error: That output directory either doesn't exist, isn't a directory, or we don't have permission to access it.";
|
||||
exit 3;
|
||||
mkdir "${OUTPUT}";
|
||||
fi
|
||||
|
||||
export PATH=$HOME/software/bin:$PATH;
|
||||
|
@ -56,6 +55,8 @@ export PATH=$HOME/software/bin:$PATH;
|
|||
OUTPUT_UNIQ="${OUTPUT%/}_uniq"; # Stript trailing slash, if present
|
||||
OUTPUT_TFRECORD="${OUTPUT%/}_tfrecord"; # Stript trailing slash, if present
|
||||
|
||||
mkd -p "${OUTPUT_UNIQ}" "${OUTPUT_TFRECORD}";
|
||||
|
||||
echo ">>> Settings";
|
||||
|
||||
echo "RAINFALL $RAINFALL";
|
||||
|
|
Loading…
Reference in a new issue