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.20 by peller, Tue Oct 9 13:40:55 2012 UTC vs.
Revision 1.22 by peller, Sun Oct 14 09:53:49 2012 UTC

# Line 67 | Line 67 | if opts.task == 'plot':
67  
68   if not opts.task == 'prep':
69      path = config.get("Directories","samplepath")
70 <    infofile = open(path+'/env/samples.info','r')
70 >    samplesinfo = config.get("Directories","samplesinfo")
71 >    infofile = open(samplesinfo,'r')
72      info = pickle.load(infofile)
73      infofile.close()
74  
# Line 80 | Line 81 | if opts.task == 'plot':
81   elif opts.task == 'dc':
82      repDict['queue'] = 'short.q'
83      for item in DC_vars:
84 <        if 'ZH%s'%opts.mass in item and opts.tag in item:
84 >        if 'ZH%s'%opts.mass in item:
85              submit(item,repDict)
86 <        elif 'ZH' in item and opts.tag in item and opts.mass == 'all':
86 >        elif 'ZH' in item and opts.mass == 'all':
87              submit(item,repDict)
88              
89   elif opts.task == 'prep':

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines