ATLAS Offline Software
|
Functions | |
def | parse_channels (instr) |
Variables | |
parser = optparse.OptionParser(usage="usage: %prog [options] indb outdb\n\nindb and outdb can be COOL connection strings or \"filename/dbname\", e.g. mydb.db/COMP200") | |
default | |
False | |
action | |
help | |
None | |
opts | |
args | |
createdefects | |
indb = DefectsDB(args[0], read_only=True, tag=opts.intag) | |
outdb | |
def | channels = parse_channels(opts.defects) |
inclauses = indb.virtual_defect_logics | |
inchannels = set(channels if channels is not None else inclauses.keys()) | |
outchannels = set(outdb.virtual_defect_names) | |
missingchannels = inchannels-outchannels | |
descriptions = indb.get_virtual_channel_descriptions(missingchannels) | |
def dq_defect_copy_virtual_defects.parse_channels | ( | instr | ) |
Definition at line 5 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.action |
Definition at line 18 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.args |
Definition at line 26 of file dq_defect_copy_virtual_defects.py.
def dq_defect_copy_virtual_defects.channels = parse_channels(opts.defects) |
Definition at line 39 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.createdefects |
Definition at line 33 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.default |
Definition at line 18 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.descriptions = indb.get_virtual_channel_descriptions(missingchannels) |
Definition at line 56 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.False |
Definition at line 18 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.help |
Definition at line 19 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.inchannels = set(channels if channels is not None else inclauses.keys()) |
Definition at line 44 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.inclauses = indb.virtual_defect_logics |
Definition at line 42 of file dq_defect_copy_virtual_defects.py.
Definition at line 35 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.missingchannels = inchannels-outchannels |
Definition at line 46 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.None |
Definition at line 24 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.opts |
Definition at line 26 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.outchannels = set(outdb.virtual_defect_names) |
Definition at line 45 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.outdb |
Definition at line 36 of file dq_defect_copy_virtual_defects.py.
dq_defect_copy_virtual_defects.parser = optparse.OptionParser(usage="usage: %prog [options] indb outdb\n\nindb and outdb can be COOL connection strings or \"filename/dbname\", e.g. mydb.db/COMP200") |
Definition at line 17 of file dq_defect_copy_virtual_defects.py.