11 import Alignment.MillePedeAlignmentAlgorithm.mpslib.Mpslibclass
as mpslib
15 os.system(
"mps_update.py > /dev/null")
17 lib = mpslib.jobdatabase()
21 for i
in xrange(len(lib.JOBID)):
23 if lib.JOBSTATUS[i]
in (
"DONE",
"EXIT",
"FETCH",
"DISABLEDFETCH"):
25 theJobDir =
'jobData/'+lib.JOBDIR[i]
26 theBatchDirectory =
r"LSFJOB_"+ lib.JOBID[i]
28 command =
'mv %s/* %s/ > /dev/null 2>&1' % (theBatchDirectory, theJobDir)
30 command =
'rm -rf '+theBatchDirectory
34 if 'DISABLED' in lib.JOBSTATUS[i]:
35 lib.JOBSTATUS[i] =
'DISABLEDFETCH' 37 lib.JOBSTATUS[i] =
'FETCH' 42 os.system(
'mps_check.py')