ATLAS Offline Software
DataQuality
DQDefects
share
Namespaces
|
Functions
|
Variables
dq_defect_copy_virtual_defects.py File Reference
Go to the source code of this file.
Namespaces
dq_defect_copy_virtual_defects
Functions
def
dq_defect_copy_virtual_defects.parse_channels
(instr)
Variables
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")
dq_defect_copy_virtual_defects.default
dq_defect_copy_virtual_defects.False
dq_defect_copy_virtual_defects.action
dq_defect_copy_virtual_defects.help
dq_defect_copy_virtual_defects.None
dq_defect_copy_virtual_defects.opts
dq_defect_copy_virtual_defects.args
dq_defect_copy_virtual_defects.createdefects
dq_defect_copy_virtual_defects.indb
= DefectsDB(args[0], read_only=
True
, tag=opts.intag)
dq_defect_copy_virtual_defects.outdb
def
dq_defect_copy_virtual_defects.channels
= parse_channels(opts.defects)
dq_defect_copy_virtual_defects.inclauses
= indb.virtual_defect_logics
dq_defect_copy_virtual_defects.inchannels
= set(channels
if
channels is not None else inclauses.keys())
dq_defect_copy_virtual_defects.outchannels
= set(outdb.virtual_defect_names)
dq_defect_copy_virtual_defects.missingchannels
= inchannels-outchannels
dq_defect_copy_virtual_defects.descriptions
= indb.get_virtual_channel_descriptions(missingchannels)
Generated on Thu Jan 2 2025 21:22:50 for ATLAS Offline Software by
1.8.18