![]() |
ATLAS Offline Software
|
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])) | |
| dict grepCompFactory.addedDuplicates = {} |
Definition at line 38 of file grepCompFactory.py.
| grepCompFactory.args = parser.parse_args() |
Definition at line 15 of file grepCompFactory.py.
| dict grepCompFactory.duplicates = {} |
Definition at line 31 of file grepCompFactory.py.
| grepCompFactory.encoding |
Definition at line 22 of file grepCompFactory.py.
| grepCompFactory.files = glob.glob('**/*onfig.py', recursive=True) |
Definition at line 19 of file grepCompFactory.py.
| grepCompFactory.fun = match.group(1) |
Definition at line 25 of file grepCompFactory.py.
| dict grepCompFactory.functionDict = {} |
Definition at line 18 of file grepCompFactory.py.
| grepCompFactory.help |
Definition at line 14 of file grepCompFactory.py.
| grepCompFactory.match = re.search(r"CompFactory\.(\w+\.?\w+) ?\(", line) |
Definition at line 23 of file grepCompFactory.py.
| grepCompFactory.metavar |
Definition at line 13 of file grepCompFactory.py.
| grepCompFactory.newAdded = list(set(duplicates[refItem[0]]) - set(refItem[1])) |
Definition at line 47 of file grepCompFactory.py.
| grepCompFactory.newRemoved = list(set(refItem[1]) - set(duplicates[refItem[0]])) |
Definition at line 44 of file grepCompFactory.py.
| 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.
| grepCompFactory.ref = json.loads(f.read()) |
Definition at line 37 of file grepCompFactory.py.
| dict grepCompFactory.removedDuplicates = {} |
Definition at line 39 of file grepCompFactory.py.
| grepCompFactory.type |
Definition at line 13 of file grepCompFactory.py.