ATLAS Offline Software
Loading...
Searching...
No Matches
grepCompFactory Namespace Reference

Variables

 parser = argparse.ArgumentParser(description='Find duplicate config for athena modules in the current and all subfolders. Scans files ending in *onfig.py or *onfigNew.py. Ignores duplicates listed in given reference file.')
 metavar
 type
 help
 args = parser.parse_args()
dict functionDict = {}
 files = glob.glob('**/*onfig.py', recursive=True)
 encoding
 match = re.search(r"CompFactory\.(\w+\.?\w+) ?\‍(", line)
 fun = match.group(1)
dict duplicates = {}
 ref = json.loads(f.read())
dict addedDuplicates = {}
dict removedDuplicates = {}
 newRemoved = list(set(refItem[1]) - set(duplicates[refItem[0]]))
 newAdded = list(set(duplicates[refItem[0]]) - set(refItem[1]))

Variable Documentation

◆ addedDuplicates

dict grepCompFactory.addedDuplicates = {}

Definition at line 38 of file grepCompFactory.py.

◆ args

grepCompFactory.args = parser.parse_args()

Definition at line 15 of file grepCompFactory.py.

◆ duplicates

dict grepCompFactory.duplicates = {}

Definition at line 31 of file grepCompFactory.py.

◆ encoding

grepCompFactory.encoding

Definition at line 22 of file grepCompFactory.py.

◆ files

grepCompFactory.files = glob.glob('**/*onfig.py', recursive=True)

Definition at line 19 of file grepCompFactory.py.

◆ fun

grepCompFactory.fun = match.group(1)

Definition at line 25 of file grepCompFactory.py.

◆ functionDict

dict grepCompFactory.functionDict = {}

Definition at line 18 of file grepCompFactory.py.

◆ help

grepCompFactory.help

Definition at line 14 of file grepCompFactory.py.

◆ match

grepCompFactory.match = re.search(r"CompFactory\.(\w+\.?\w+) ?\‍(", line)

Definition at line 23 of file grepCompFactory.py.

◆ metavar

grepCompFactory.metavar

Definition at line 13 of file grepCompFactory.py.

◆ newAdded

grepCompFactory.newAdded = list(set(duplicates[refItem[0]]) - set(refItem[1]))

Definition at line 47 of file grepCompFactory.py.

◆ newRemoved

grepCompFactory.newRemoved = list(set(refItem[1]) - set(duplicates[refItem[0]]))

Definition at line 44 of file grepCompFactory.py.

◆ parser

grepCompFactory.parser = argparse.ArgumentParser(description='Find duplicate config for athena modules in the current and all subfolders. Scans files ending in *onfig.py or *onfigNew.py. Ignores duplicates listed in given reference file.')

Definition at line 12 of file grepCompFactory.py.

◆ ref

grepCompFactory.ref = json.loads(f.read())

Definition at line 37 of file grepCompFactory.py.

◆ removedDuplicates

dict grepCompFactory.removedDuplicates = {}

Definition at line 39 of file grepCompFactory.py.

◆ type

grepCompFactory.type

Definition at line 13 of file grepCompFactory.py.