potassco-benchmark-tool 2.2.0__py3-none-any.whl → 2.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- benchmarktool/result/xlsx_gen.py +6 -6
- {potassco_benchmark_tool-2.2.0.dist-info → potassco_benchmark_tool-2.2.1.dist-info}/METADATA +1 -1
- {potassco_benchmark_tool-2.2.0.dist-info → potassco_benchmark_tool-2.2.1.dist-info}/RECORD +7 -7
- {potassco_benchmark_tool-2.2.0.dist-info → potassco_benchmark_tool-2.2.1.dist-info}/WHEEL +0 -0
- {potassco_benchmark_tool-2.2.0.dist-info → potassco_benchmark_tool-2.2.1.dist-info}/entry_points.txt +0 -0
- {potassco_benchmark_tool-2.2.0.dist-info → potassco_benchmark_tool-2.2.1.dist-info}/licenses/LICENSE +0 -0
- {potassco_benchmark_tool-2.2.0.dist-info → potassco_benchmark_tool-2.2.1.dist-info}/top_level.txt +0 -0
benchmarktool/result/xlsx_gen.py
CHANGED
|
@@ -382,14 +382,14 @@ class Sheet:
|
|
|
382
382
|
instance_summary[instance_result].setdefault(name, False)
|
|
383
383
|
if value_type == "int":
|
|
384
384
|
value_type = "float"
|
|
385
|
-
elif value_type not in {"float", "None"}:
|
|
385
|
+
elif value_type not in {"float", "None", "empty"}:
|
|
386
386
|
value_type = "string"
|
|
387
387
|
if self.ref_sheet is None:
|
|
388
388
|
if value_type == "float":
|
|
389
389
|
block.add_cell(
|
|
390
390
|
instance_result.instance.values["row"] + run.number - 1, name, value_type, float(value)
|
|
391
391
|
)
|
|
392
|
-
elif value_type
|
|
392
|
+
elif value_type in {"None", "empty"}:
|
|
393
393
|
block.add_cell(
|
|
394
394
|
instance_result.instance.values["row"] + run.number - 1, name, value_type, np.nan
|
|
395
395
|
)
|
|
@@ -438,7 +438,7 @@ class Sheet:
|
|
|
438
438
|
)
|
|
439
439
|
else:
|
|
440
440
|
block.add_cell(
|
|
441
|
-
(inst_val["row"] + inst_val["max_runs"]) // inst_val["max_runs"] - 1, name, "
|
|
441
|
+
(inst_val["row"] + inst_val["max_runs"]) // inst_val["max_runs"] - 1, name, "None", np.nan
|
|
442
442
|
)
|
|
443
443
|
|
|
444
444
|
def add_benchclass_summary(
|
|
@@ -468,7 +468,7 @@ class Sheet:
|
|
|
468
468
|
},
|
|
469
469
|
)
|
|
470
470
|
else:
|
|
471
|
-
block.add_cell(benchclass_result.benchclass.values["row"], name, "
|
|
471
|
+
block.add_cell(benchclass_result.benchclass.values["row"], name, "None", np.nan)
|
|
472
472
|
|
|
473
473
|
def finish(self) -> None:
|
|
474
474
|
"""
|
|
@@ -924,10 +924,10 @@ class SystemBlock:
|
|
|
924
924
|
self.content.at[1, name] = name
|
|
925
925
|
self.columns[name] = value_type
|
|
926
926
|
# first occurrence of column
|
|
927
|
-
elif self.columns[name]
|
|
927
|
+
elif self.columns[name] in {"None", "empty"}:
|
|
928
928
|
self.columns[name] = value_type
|
|
929
929
|
# mixed system column
|
|
930
|
-
elif value_type not in
|
|
930
|
+
elif value_type not in {self.columns[name], "None", "empty"}:
|
|
931
931
|
self.columns[name] = "string"
|
|
932
932
|
# leave space for header and add new row if necessary
|
|
933
933
|
if row + 2 not in self.content.index:
|
|
@@ -12,15 +12,15 @@ benchmarktool/result/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
|
12
12
|
benchmarktool/result/ipynb_gen.py,sha256=QGnU4E3am8K0kPlaKBAh_1utNwWmzc6Um97WSwGuFWg,14854
|
|
13
13
|
benchmarktool/result/parser.py,sha256=AeM0KZlTMPL8csOIBG3JD5A4yzxoXcra1kom87NCeB8,6625
|
|
14
14
|
benchmarktool/result/result.py,sha256=7wDNlrm4qF2vi1HoXFMx18aqjgWuDiNfh9-UXlYZQf4,14703
|
|
15
|
-
benchmarktool/result/xlsx_gen.py,sha256=
|
|
15
|
+
benchmarktool/result/xlsx_gen.py,sha256=NeUHDX34qXDdG0AWR7sL0-Pt6jc-jhKeMZD3GDhPNHU,39927
|
|
16
16
|
benchmarktool/resultparser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
benchmarktool/resultparser/clasp.py,sha256=8ZE1zcaV6D9o2lx_qq_s6MlgRQi4fkO5LTbBVFmhBXA,4035
|
|
18
18
|
benchmarktool/runscript/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
benchmarktool/runscript/parser.py,sha256=TzOP_9F9viJ1eEzEs5lYGK-q_bwkEv5blgRdU49MNdE,23874
|
|
20
20
|
benchmarktool/runscript/runscript.py,sha256=ymvCOgn-A_PF4hXJ2B1tHGqKy2S9EjMj3i26aMG7O-0,54886
|
|
21
|
-
potassco_benchmark_tool-2.2.
|
|
22
|
-
potassco_benchmark_tool-2.2.
|
|
23
|
-
potassco_benchmark_tool-2.2.
|
|
24
|
-
potassco_benchmark_tool-2.2.
|
|
25
|
-
potassco_benchmark_tool-2.2.
|
|
26
|
-
potassco_benchmark_tool-2.2.
|
|
21
|
+
potassco_benchmark_tool-2.2.1.dist-info/licenses/LICENSE,sha256=eiYGM1U3OL1PkD5Leken0kocRuk_9Inhq6aiyfSWYYs,1065
|
|
22
|
+
potassco_benchmark_tool-2.2.1.dist-info/METADATA,sha256=-NuGu5nIXc6-yQQRA-u_rZo87juxeUN_trbWPp3gepU,4270
|
|
23
|
+
potassco_benchmark_tool-2.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
24
|
+
potassco_benchmark_tool-2.2.1.dist-info/entry_points.txt,sha256=pHyaCS16SLT-m0ZpybGtvg2PxI5TNKonBUH1DJyeKVY,58
|
|
25
|
+
potassco_benchmark_tool-2.2.1.dist-info/top_level.txt,sha256=raOGCL-YmmJFALuaHUXcH4bFccgTAB7JVLPxFFqFL7Y,14
|
|
26
|
+
potassco_benchmark_tool-2.2.1.dist-info/RECORD,,
|
|
File without changes
|
{potassco_benchmark_tool-2.2.0.dist-info → potassco_benchmark_tool-2.2.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{potassco_benchmark_tool-2.2.0.dist-info → potassco_benchmark_tool-2.2.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{potassco_benchmark_tool-2.2.0.dist-info → potassco_benchmark_tool-2.2.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|