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)):
22 if 'DONE' in lib.JOBSTATUS[i]:
24 theJobDir =
'jobData/'+lib.JOBDIR[i]
25 theBatchDirectory =
'LSFJOB\_%d' % lib.JOBID[i]
27 command =
'mv %s/* %s/' % (theBatchDirectory, theJobDir)
29 command =
'rmdir '+theBatchDirectory
33 if 'DISABLED' in lib.JOBSTATUS[i]:
34 lib.JOBSTATUS[i] =
'DISABLEDFETCH'
36 lib.JOBSTATUS[i] =
'FETCH'
41 os.system(
'mps_check.py')