mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-26 02:43:02 +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
|
fi
|
||||||
|
|
||||||
if [[ ! -d "${OUTPUT}" ]]; then
|
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.";
|
mkdir "${OUTPUT}";
|
||||||
exit 3;
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PATH=$HOME/software/bin:$PATH;
|
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_UNIQ="${OUTPUT%/}_uniq"; # Stript trailing slash, if present
|
||||||
OUTPUT_TFRECORD="${OUTPUT%/}_tfrecord"; # Stript trailing slash, if present
|
OUTPUT_TFRECORD="${OUTPUT%/}_tfrecord"; # Stript trailing slash, if present
|
||||||
|
|
||||||
|
mkd -p "${OUTPUT_UNIQ}" "${OUTPUT_TFRECORD}";
|
||||||
|
|
||||||
echo ">>> Settings";
|
echo ">>> Settings";
|
||||||
|
|
||||||
echo "RAINFALL $RAINFALL";
|
echo "RAINFALL $RAINFALL";
|
||||||
|
|
Loading…
Reference in a new issue