Closed JinpengLI closed 11 years ago
This issue has been fixed by reloading node in each iteration node_common2curr = tree.get_node(node_common2curr.get_key())
curr_node = tree.get_node(curr_key)
for node_common2curr in curr_node.get_path_from_node(common_parent):
if node_common2curr is common_parent: # skip commom ancestor
continue
if node_common2curr is curr_node: # do not process current node
break
node_common2curr = tree.get_node(node_common2curr.get_key()) ####### #10
func = getattr(node_common2curr, function)
cpXy = func(recursion=False, **cpXy)
When we get a set of nodes using curr_node.get_path_from_node(common_parent), and then node_common2curr run fit_predict to produce "_sclices", but their children (RowSlicer.slices from curr_node.get_path_from_node(common_parent) ) won't copy it. Thus, it will produce those above errors.