Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/f/i/FinalStateAnalysis-HEAD/StatTools/python/DataCard.py   FinalStateAnalysis(Download)
'''
 
from HiggsAnalysis.CombinedLimit.DatacardParser import \
        parseCard, addDatacardParserOptions
import fnmatch
# The DatacardParser takes some wacky arguments
_parser = OptionParser()
addDatacardParserOptions(_parser)
(_options, _args) = _parser.parse_args([])
_options.bin = True # fake that is a binary output, so that we parse shape lines

src/f/i/FinalStateAnalysis-HEAD/StatTools/python/cardreader.py   FinalStateAnalysis(Download)
 
from optparse import OptionParser
from HiggsAnalysis.CombinedLimit.DatacardParser import \
        parseCard, addDatacardParserOptions
from uncertainties import ufloat
 
# The DatacardParser takes some wacky arguments
_parser = OptionParser()
addDatacardParserOptions(_parser)