ATLAS Offline Software
Loading...
Searching...
No Matches
sherpaTarCreator.sge_grace Namespace Reference

Classes

class  batchJob

Functions

 getJobIDfromlastJob ()
 finalizeJobs (dryRun)

Function Documentation

◆ finalizeJobs()

sherpaTarCreator.sge_grace.finalizeJobs ( dryRun)

Definition at line 86 of file sge_grace.py.

86def finalizeJobs(dryRun):
87 return True

◆ getJobIDfromlastJob()

sherpaTarCreator.sge_grace.getJobIDfromlastJob ( )

Definition at line 5 of file sge_grace.py.

5def getJobIDfromlastJob():
6 for line in open("qsub.log"):
7 pass
8 parts = line.split(" ")
9 jobid = parts[2].split('.')[0] if 'array' in line else parts[2]
10 return jobid
11
std::vector< std::string > split(const std::string &s, const std::string &t=":")
Definition hcg.cxx:177