Ticket #719 (closed bug: fixed)
Classification tree export in GraphViz DOT format fails
|Reported by:||garmonbozia||Owned by:||marko|
Create a simple schema, add a file component, a classification tree, and a classification graph component. Open the graph view and try to save the graph as DOT file.
An exception will be thrown:
Unhandled exception of type AttributeError occured at 9:27:34: Traceback: File: OWTreeViewer2D.py, line 631 in saveDot Code: orngTree.printDot(self.tree, filename) File: orngTree.py, line 38 in dot Code: leafShape=leafShape, nodeShape=nodeShape, fle=fle).dotTree() File: tree.py, line 2788 in __init__ Code: if tree.classVar.varType == Orange.data.Type.Discrete: AttributeError: 'Orange.classification.tree.Node' has no attribute 'class_var'
Note: See TracTickets for help on using tickets.