Commit 19af511d authored by Gao, Shang's avatar Gao, Shang
Browse files

updated check_status method to return None on failure

parent ef94ea42
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -316,8 +316,11 @@ class crossbowGlobus(crossbowBase):
        outputs:
            string indicating status of task
        '''
        try:
            r = self.transfer.get_task(task_id)
            return r["status"]
        except:
            return None
        
    def check_resource_exists_endpoint(self,resource_path,endpoint=olcfatlas):
        '''
+3 −0
Original line number Diff line number Diff line
@@ -5,6 +5,9 @@
#PBS -l nodes=1
#PBS -lpartition=gpu

module load cudatoolkit
module load cuda

#clone repo/get latest
cd ${HOME}/
if [ ! -d crossbow ]; then