update parent move, readme, analysis tab select

This commit is contained in:
Sander Land committed 2020-05-15 19:12:12 +02:00
1 parent dfda7d4d30
commit 460494c72c
7 files changed
+27 -12

No files matched your search

+2
View File
@@ -82,6 +82,8 @@ class GameNode(SGFNode):
self.ownership = analysis_json.get("ownership")
self.policy = analysis_json.get("policy")
self.analysis["root"] = analysis_json["rootInfo"]
if self.parent and self.move:
self.parent.update_move_analysis(analysis_json["rootInfo"], self.move.gtp()) # update analysis in parent for consistency
@property
def analysis_ready(self):