This commit is contained in:
Sander Land committed 2020-04-29 23:24:47 +02:00
1 parent ae4d322b2a
commit 4f61cf4de7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ class GameNode(SGFNode):
text += f"Move was predicted best move.\n"
if sgf:
if previous_top_move.get("pv") and (sgf or hints):
text += f"PV: {' '.join(previous_top_move['pv'])}"
text += f"PV: {single_move.player}{' '.join(previous_top_move['pv'])}\n"
if sgf or hints or teach:
policy_ranking = self.parent.policy_ranking
+1 -1
View File
@@ -108,7 +108,7 @@ class ConfigPopup(QuickConfigGui):
for k1, all_d in sorted(self.config.items(), key=lambda tup: -len(tup[1])): # sort to make greedy bin packing work better
if k1 in self.ignore_cats:
continue
d = {k: v for k, v in all_d.items() if isinstance(v, (int, float, str, bool)) and not k.startswith('_')} # no lists . dict could be supported but hard to scale
d = {k: v for k, v in all_d.items() if isinstance(v, (int, float, str, bool)) and not k.startswith("_")} # no lists . dict could be supported but hard to scale
cat = GridLayout(cols=2, rows=len(d) + 1, size_hint=(1, len(d) + 1))
cat.add_widget(Label(text=""))
cat.add_widget(ScaledLightLabel(text=f"{k1} settings", bold=True))