Spaces:
Runtime error
Runtime error
kennymckormick
commited on
Commit
•
40533e0
1
Parent(s):
a0e2ce8
fix bug
Browse files- gen_table.py +1 -1
gen_table.py
CHANGED
@@ -81,7 +81,7 @@ def BUILD_L2_DF(results, dataset):
|
|
81 |
res = defaultdict(list)
|
82 |
sub = [v for v in results.values() if dataset in v]
|
83 |
assert len(sub)
|
84 |
-
fields = list(sub[dataset].keys())
|
85 |
|
86 |
non_overall_fields = [x for x in fields if 'Overall' not in x]
|
87 |
overall_fields = [x for x in fields if 'Overall' in x]
|
|
|
81 |
res = defaultdict(list)
|
82 |
sub = [v for v in results.values() if dataset in v]
|
83 |
assert len(sub)
|
84 |
+
fields = list(sub[0][dataset].keys())
|
85 |
|
86 |
non_overall_fields = [x for x in fields if 'Overall' not in x]
|
87 |
overall_fields = [x for x in fields if 'Overall' in x]
|