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",
"FETCH",
"DISABLEDFETCH"):
25 theJobDir =
'jobData/'+lib.JOBDIR[i]
26 theBatchDirectory =
'LSFJOB\_%d' % lib.JOBID[i]
28 command =
'mv %s/* %s/' % (theBatchDirectory, theJobDir)
30 command =
'rmdir '+theBatchDirectory
34 if 'DISABLED' in lib.JOBSTATUS[i]:
35 lib.JOBSTATUS[i] =
'DISABLEDFETCH' 37 lib.JOBSTATUS[i] =
'FETCH' 42 os.system(
'mps_check.py')