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.25 by nmohr, Thu Jan 17 08:22:25 2013 UTC vs.
Revision 1.26 by bortigno, Wed Jan 23 13:25:16 2013 UTC

# Line 1 | Line 1
1   #! /usr/bin/env python
2 import os,shutil,sys,pickle,subprocess,ROOT
2   from optparse import OptionParser
3 < import getpass
5 < from myutils import BetterConfigParser, sample, parse_info
3 > import sys
4  
5   parser = OptionParser()
6   parser.add_option("-T", "--tag", dest="tag", default="",
# Line 14 | Line 12 | parser.add_option("-M", "--mass", dest="
12   parser.add_option("-S","--samples",dest="samples",default="",
13                        help="samples you want to run on")
14  
17
15   (opts, args) = parser.parse_args(sys.argv)
16 +
17 + import os,shutil,pickle,subprocess,ROOT
18 + from myutils import BetterConfigParser, sample, parse_info
19 + import getpass
20 +
21   if opts.tag == "":
22          print "Please provide tag to run the analysis with, example '-T 8TeV' uses config8TeV and pathConfig8TeV to run the analysis."
23          sys.exit(123)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines