From 796df2f8479c870e3bcdb2742899003fb4cc0ed1 Mon Sep 17 00:00:00 2001
From: Tim O'Donnell <timodonnell@gmail.com>
Date: Sun, 18 Aug 2019 10:24:49 -0400
Subject: [PATCH] fix

---
 .../GENERATE.WITH_HPC_CLUSTER.sh                            | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/downloads-generation/models_class1_pan_unselected/GENERATE.WITH_HPC_CLUSTER.sh b/downloads-generation/models_class1_pan_unselected/GENERATE.WITH_HPC_CLUSTER.sh
index 5f0dc984..ec154e9a 100755
--- a/downloads-generation/models_class1_pan_unselected/GENERATE.WITH_HPC_CLUSTER.sh
+++ b/downloads-generation/models_class1_pan_unselected/GENERATE.WITH_HPC_CLUSTER.sh
@@ -64,12 +64,10 @@ do
 
     # In case the above command fails, the job can may still be fixable manually.
     # So we wait for the COMPLETE file here.
-    if [ ! -f models.${kind}/COMPLETE ]
-    then
-        echo "Waiting for models.${kind}/COMPLETE"
-    fi
     while [ ! -f models.${kind}/COMPLETE ]
     do
+        echo "Waiting for $(pwd)/models.${kind}/COMPLETE"
+        echo "Processing script: $(pwd)/PROCESS.${kind}.sh"
         sleep 60
     done
 done
-- 
GitLab