![]() |
ATLAS Offline Software
|
Functions | |
| def | compare_idline (_l1, _l2) |
| ======================================================== More... | |
| def | compare_textrange (_t1, _t2, _r1, _r2) |
| def | compare_xyline (_l1, _l2) |
| def | compare_hbuffs (blist) |
Variables | |
| parser | |
| dest | |
| type | |
| required | |
| help | |
| args = parser.parse_args() | |
| infname1 = args.in_xml1.name | |
| ========================================================= main More... | |
| infname2 = args.in_xml2.name | |
| string | outfname_common = infname1.split(".")[0]+"_"+infname2.split(".")[0]+".xml" |
| string | outfname_1only = infname1.split(".")[0]+"_only.xml" |
| string | outfname_2only = infname2.split(".")[0]+"_only.xml" |
| string | outfname_1diffrange = infname1.split(".")[0]+"_diffrange.xml" |
| string | outfname_2diffrange = infname2.split(".")[0]+"_diffrange.xml" |
| string | outfname_1difftext = infname1.split(".")[0]+"_difftext.xml" |
| string | outfname_2difftext = infname2.split(".")[0]+"_difftext.xml" |
| outf_common = open(outfname_common, 'w') | |
| outf_1only = open(outfname_1only, 'w') | |
| outf_2only = open(outfname_2only, 'w') | |
| outf_1diffrange = open(outfname_1diffrange, 'w') | |
| outf_2diffrange = open(outfname_2diffrange, 'w') | |
| outf_1difftext = open(outfname_1difftext, 'w') | |
| outf_2difftext = open(outfname_2difftext, 'w') | |
| dictionary | buff_comp_dict |
| list | buff1 = [] |
| list | buff2 = [] |
| line = weed(line) | |
| handle all definitions in 1st file: More... | |
| id = get_val("id",line) | |
| list | buffs = [buff1,buff2] |
| def | compvals = compare_hbuffs(buffs) |
| def split_histdefs.compare_hbuffs | ( | blist | ) |
| def split_histdefs.compare_idline | ( | _l1, | |
| _l2 | |||
| ) |
========================================================
Definition at line 33 of file split_histdefs.py.
| def split_histdefs.compare_textrange | ( | _t1, | |
| _t2, | |||
| _r1, | |||
| _r2 | |||
| ) |
| def split_histdefs.compare_xyline | ( | _l1, | |
| _l2 | |||
| ) |
| split_histdefs.args = parser.parse_args() |
Definition at line 28 of file split_histdefs.py.
| list split_histdefs.buff1 = [] |
| list split_histdefs.buff2 = [] |
Definition at line 141 of file split_histdefs.py.
| dictionary split_histdefs.buff_comp_dict |
helper dictionary for writing out results to the right files
Definition at line 134 of file split_histdefs.py.
Definition at line 150 of file split_histdefs.py.
| def split_histdefs.compvals = compare_hbuffs(buffs) |
Definition at line 151 of file split_histdefs.py.
| split_histdefs.dest |
Definition at line 17 of file split_histdefs.py.
| split_histdefs.help |
Definition at line 20 of file split_histdefs.py.
| split_histdefs.id = get_val("id",line) |
Definition at line 146 of file split_histdefs.py.
| split_histdefs.infname1 = args.in_xml1.name |
========================================================= main
Definition at line 102 of file split_histdefs.py.
| split_histdefs.infname2 = args.in_xml2.name |
Definition at line 103 of file split_histdefs.py.
| split_histdefs.line = weed(line) |
handle all definitions in 1st file:
Definition at line 145 of file split_histdefs.py.
| split_histdefs.outf_1diffrange = open(outfname_1diffrange, 'w') |
Definition at line 127 of file split_histdefs.py.
| split_histdefs.outf_1difftext = open(outfname_1difftext, 'w') |
Definition at line 129 of file split_histdefs.py.
| split_histdefs.outf_1only = open(outfname_1only, 'w') |
Definition at line 125 of file split_histdefs.py.
| split_histdefs.outf_2diffrange = open(outfname_2diffrange, 'w') |
Definition at line 128 of file split_histdefs.py.
| split_histdefs.outf_2difftext = open(outfname_2difftext, 'w') |
Definition at line 130 of file split_histdefs.py.
| split_histdefs.outf_2only = open(outfname_2only, 'w') |
Definition at line 126 of file split_histdefs.py.
| split_histdefs.outf_common = open(outfname_common, 'w') |
Definition at line 124 of file split_histdefs.py.
| string split_histdefs.outfname_1diffrange = infname1.split(".")[0]+"_diffrange.xml" |
Definition at line 108 of file split_histdefs.py.
| string split_histdefs.outfname_1difftext = infname1.split(".")[0]+"_difftext.xml" |
Definition at line 110 of file split_histdefs.py.
| string split_histdefs.outfname_1only = infname1.split(".")[0]+"_only.xml" |
Definition at line 106 of file split_histdefs.py.
| string split_histdefs.outfname_2diffrange = infname2.split(".")[0]+"_diffrange.xml" |
Definition at line 109 of file split_histdefs.py.
| string split_histdefs.outfname_2difftext = infname2.split(".")[0]+"_difftext.xml" |
Definition at line 111 of file split_histdefs.py.
| string split_histdefs.outfname_2only = infname2.split(".")[0]+"_only.xml" |
Definition at line 107 of file split_histdefs.py.
| string split_histdefs.outfname_common = infname1.split(".")[0]+"_"+infname2.split(".")[0]+".xml" |
Definition at line 105 of file split_histdefs.py.
| split_histdefs.parser |
Definition at line 9 of file split_histdefs.py.
| split_histdefs.required |
Definition at line 19 of file split_histdefs.py.
| split_histdefs.type |
Definition at line 18 of file split_histdefs.py.
1.8.18