|
|
@ -38,10 +38,14 @@ def process_s2_data(): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def produce_match_all(xdata): |
|
|
|
def produce_match_all(xdata): |
|
|
|
|
|
|
|
rows = [] |
|
|
|
for ii in xmodels.keys(): |
|
|
|
for ii in xmodels.keys(): |
|
|
|
los = set() |
|
|
|
los = set() |
|
|
|
for _rank in xdata[ii]: |
|
|
|
for _rank in xdata[ii]: |
|
|
|
print(_rank) |
|
|
|
los = los.union(set(xdata[ii][_rank])) |
|
|
|
|
|
|
|
rows.append([ii, ','.join(list(los))]) |
|
|
|
|
|
|
|
_f = 'step3_match_all.csv' |
|
|
|
|
|
|
|
create_csv(_f, rows, directory='part3') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def main(*argv): |
|
|
|
def main(*argv): |
|
|
|