ATLAS Offline Software
|
Functions | |
def | file_is_empty (path) |
def | getDAOD (list_DAOD) |
def | validate (testSampleDir, thisSampleName, testSamplePath, weight_database, outputSamples) |
Variables | |
parser = optparse.OptionParser(usage="%prog [options]") | |
help | |
dest | |
default | |
opts | |
args | |
f = open(opts.inputSamples) | |
list | weight_database = [] |
SampleName = line.split()[0] | |
dsid = SampleName.split(".")[1] | |
dictionary | |
keys | |
testSamplePath = None | |
ofile = open(opts.outputSamples, 'a+') | |
string | ruciolist = "rucio list-dids %s*DAOD* --filter type = CONTAINER --short > list_DAOD.txt" % (SampleName.split("_")[0] + '_' + SampleName.split("_")[1] + '_' + SampleName.split("_")[2]) |
lfile = open('list_DAOD.txt', 'r') | |
list_DAOD = lfile.readlines() | |
def | shortDAOD = getDAOD(list_DAOD) |
d_list = list(element for element in list_DAOD if DAOD in element) | |
thisSampleName = d_list[-1].split()[0] | |
def validation.file_is_empty | ( | path | ) |
Definition at line 14 of file validation.py.
def validation.getDAOD | ( | list_DAOD | ) |
Definition at line 18 of file validation.py.
def validation.validate | ( | testSampleDir, | |
thisSampleName, | |||
testSamplePath, | |||
weight_database, | |||
outputSamples | |||
) |
Definition at line 26 of file validation.py.
validation.args |
Definition at line 78 of file validation.py.
Definition at line 114 of file validation.py.
validation.default |
Definition at line 75 of file validation.py.
validation.dest |
Definition at line 75 of file validation.py.
validation.dictionary |
Definition at line 87 of file validation.py.
validation.dsid = SampleName.split(".")[1] |
Definition at line 86 of file validation.py.
validation.f = open(opts.inputSamples) |
Definition at line 81 of file validation.py.
validation.help |
Definition at line 75 of file validation.py.
validation.keys |
Definition at line 87 of file validation.py.
validation.lfile = open('list_DAOD.txt', 'r') |
Definition at line 110 of file validation.py.
validation.list_DAOD = lfile.readlines() |
Definition at line 111 of file validation.py.
validation.ofile = open(opts.outputSamples, 'a+') |
Definition at line 96 of file validation.py.
validation.opts |
Definition at line 78 of file validation.py.
validation.parser = optparse.OptionParser(usage="%prog [options]") |
Definition at line 74 of file validation.py.
string validation.ruciolist = "rucio list-dids %s*DAOD* --filter type = CONTAINER --short > list_DAOD.txt" % (SampleName.split("_")[0] + '_' + SampleName.split("_")[1] + '_' + SampleName.split("_")[2]) |
Definition at line 103 of file validation.py.
validation.SampleName = line.split()[0] |
Definition at line 85 of file validation.py.
Definition at line 112 of file validation.py.
validation.testSamplePath = None |
Definition at line 94 of file validation.py.
Definition at line 116 of file validation.py.
validation.weight_database = [] |
Definition at line 83 of file validation.py.