ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/python/submitThem.py
(Generate patch)

Comparing UserCode/VHbb/python/submitThem.py (file contents):
Revision 1.10 by bortigno, Sun Sep 30 17:36:39 2012 UTC vs.
Revision 1.11 by bortigno, Sun Sep 30 19:40:44 2012 UTC

# Line 25 | Line 25 | if opts.task == "":
25      print "Please provide a task.\n-J prep:\tpreparation of Trees\n-J sys:\t\twrite regression and systematics\n-J eval:\tcreate MVA output\n-J plot:\tproduce Plots\n-J dc:\t\twrite workspaces and datacards"
26      sys.exit(123)
27  
28 < #create the dictionary with the samples to run over
29 < samplesDict=opts.samples.split(",")
28 > #create the list with the samples to run over
29 > samplesList=opts.samples.split(",")
30  
31   en = opts.tag
32   configs = ['config%s'%(en),'pathConfig%s'%(en)]
# Line 82 | Line 82 | elif opts.task == 'eval' or opts.task ==
82          for job in info:
83              submit(job.name,repDict)
84      else:
85 <        for sample in samplesDict:
85 >        for sample in samplesList:
86              submit(sample,repDict)
87              

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines