279 |
|
fullString = parString[:-1] |
280 |
|
if self.useParent==1: |
281 |
|
fullParentString = pString[:-1] |
282 |
< |
list_of_lists.append([fullString,fullParentString,str(-1),str(jobSkipEventCount)],block) |
282 |
> |
list_of_lists.append([fullString,fullParentString,str(-1),str(jobSkipEventCount),block]) |
283 |
|
else: |
284 |
< |
list_of_lists.append([fullString,str(-1),str(jobSkipEventCount)],block) |
284 |
> |
list_of_lists.append([fullString,str(-1),str(jobSkipEventCount),block]) |
285 |
|
msg += "Job %s can run over %s events (last file in block).\n"%(str(jobCount+1), str(filesEventCount - jobSkipEventCount)) |
286 |
|
jobDestination.append(blockSites[block]) |
287 |
|
msg += "Job %s Destination: %s\n"%(str(jobCount+1),str(SE2CMS(jobDestination[jobCount]))) |
308 |
|
fullString = parString[:-1] |
309 |
|
if self.useParent==1: |
310 |
|
fullParentString = pString[:-1] |
311 |
< |
list_of_lists.append([fullString,fullParentString,str(eventsPerJobRequested),str(jobSkipEventCount)],block) |
311 |
> |
list_of_lists.append([fullString,fullParentString,str(eventsPerJobRequested),str(jobSkipEventCount),block]) |
312 |
|
else: |
313 |
< |
list_of_lists.append([fullString,str(eventsPerJobRequested),str(jobSkipEventCount)],block) |
313 |
> |
list_of_lists.append([fullString,str(eventsPerJobRequested),str(jobSkipEventCount),block]) |
314 |
|
msg += "Job %s can run over %s events.\n"%(str(jobCount+1),str(eventsPerJobRequested)) |
315 |
|
jobDestination.append(blockSites[block]) |
316 |
|
msg+= "Job %s Destination: %s\n"%(str(jobCount+1),str(SE2CMS(jobDestination[jobCount]))) |
333 |
|
fullString = parString[:-1] |
334 |
|
if self.useParent==1: |
335 |
|
fullParentString = pString[:-1] |
336 |
< |
list_of_lists.append([fullString,fullParentString,str(eventsPerJobRequested),str(jobSkipEventCount)],block) |
336 |
> |
list_of_lists.append([fullString,fullParentString,str(eventsPerJobRequested),str(jobSkipEventCount),block]) |
337 |
|
else: |
338 |
< |
list_of_lists.append([fullString,str(eventsPerJobRequested),str(jobSkipEventCount)],block) |
338 |
> |
list_of_lists.append([fullString,str(eventsPerJobRequested),str(jobSkipEventCount),block]) |
339 |
|
msg += "Job %s can run over %s events.\n"%(str(jobCount+1),str(eventsPerJobRequested)) |
340 |
|
jobDestination.append(blockSites[block]) |
341 |
|
msg+= "Job %s Destination: %s\n"%(str(jobCount+1),str(SE2CMS(jobDestination[jobCount]))) |
497 |
|
list_of_blocks.append(res['block']) |
498 |
|
fullString = parString[:-1] |
499 |
|
blockString=','.join(list_of_blocks) |
500 |
< |
list_of_lists.append([fullString,str(-1),str(0)],blockString) |
500 |
> |
list_of_lists.append([fullString,str(-1),str(0),blockStringa]) |
501 |
|
#need to check single file location |
502 |
|
jobDestination.append(res['locations']) |
503 |
|
count +=1 |