Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
◆ getResults()
def python.evaluateDiffRoot.getResults |
( |
|
infile, |
|
|
|
test_dict |
|
) |
| |
Definition at line 14 of file evaluateDiffRoot.py.
16 for test
in test_dict.keys():
17 for ftype
in [
'ESD',
'AOD']:
23 if line.startswith(
'Py:diff-root INFO old:')
and test
in line
and ftype
in line:
25 if line.startswith(
'Py:Acmd'):
27 if doRead
and (
"leaves differ" in line
or "WARNING" in line):
28 if line.split(
'\n')[0]
not in test_dict[test][ftype]:
29 test_dict[test][ftype].
append(line.split(
'\n')[0])
31 if debugmode
and doRead:
32 print (
"DEBUG: %s: %s" %(linenr,line.split(
'\n')[0]))
37 create initial dict including all tests which have been probed
◆ getTests()
def python.evaluateDiffRoot.getTests |
( |
|
infile, |
|
|
|
selected_test |
|
) |
| |
Definition at line 39 of file evaluateDiffRoot.py.
43 if "CHANGED" in line
or "IDENTICAL" in line:
44 test = line.split()[0]
45 if selected_test
and test
not in selected_test:
47 test_dict[test] = {
'ESD' : [],
49 'status' : line.split()[1]}
55 prints sorted summary of tests
◆ printDict()
def python.evaluateDiffRoot.printDict |
( |
|
test_dict | ) |
|
◆ reportDiffs()
def python.evaluateDiffRoot.reportDiffs |
( |
|
test_dict | ) |
|
Definition at line 67 of file evaluateDiffRoot.py.
68 list_sorted =
sorted(test_dict.keys())
69 for test
in list_sorted:
70 if test_dict[test][
'status'] ==
'IDENTICAL':
72 print (test, test_dict[test][
'status'])
73 for item
in [
'ESD',
'AOD']:
75 for line
in test_dict[test][item]:
◆ reportOverview()
def python.evaluateDiffRoot.reportOverview |
( |
|
test_dict | ) |
|
Definition at line 57 of file evaluateDiffRoot.py.
58 list_sorted =
sorted(test_dict.keys())
59 for test
in list_sorted:
61 print (
'{0:50} {1:10}'.
format(test, test_dict[test][
'status']))
65 prints detailed diff on screen
◆ action
python.evaluateDiffRoot.action |
◆ args
python.evaluateDiffRoot.args |
◆ debugmode
python.evaluateDiffRoot.debugmode |
◆ default
python.evaluateDiffRoot.default |
◆ dest
python.evaluateDiffRoot.dest |
◆ False
python.evaluateDiffRoot.False |
◆ help
python.evaluateDiffRoot.help |
◆ infile_name
python.evaluateDiffRoot.infile_name |
◆ None
python.evaluateDiffRoot.None |
◆ options
python.evaluateDiffRoot.options |
◆ parser
python.evaluateDiffRoot.parser |
◆ selected_tests
python.evaluateDiffRoot.selected_tests |
◆ test_dict
python.evaluateDiffRoot.test_dict |
◆ type
python.evaluateDiffRoot.type |
◆ usage
python.evaluateDiffRoot.usage |
std::vector< typename R::value_type > sorted(const R &r, PROJ proj={})
Helper function to create a sorted vector from an unsorted range.
def reportDiffs(test_dict)
def getTests(infile, selected_test)
def getResults(infile, test_dict)
void print(char *figname, TCanvas *c1)
def reportOverview(test_dict)