
:>"^~  ã               @   sL   d  Z  d d l m Z Gd d „  d e j ƒ Z Gd d „  d e j ƒ Z d S)zqClasses corresponding to CDAO trees.

See classes in ``Bio.Nexus``: Trees.Tree, Trees.NodeData, and Nodes.Chain.
é    )ÚBaseTreec               @   s1   e  Z d  Z d Z d d d d d d d „ Z d S)ÚTreezCDAO Tree object.NFg      ð?c          
   C   sG   t  j j |  d | p t ƒ  d | d | d | ƒ| |  _ g  |  _ d S)z-Initialize value of for the CDAO tree object.ÚrootÚrootedÚidÚnameN)r   r   Ú__init__ÚCladeÚweightÚ
attributes)Úselfr   r   r   r   r
   © r   ú3/tmp/pip-build-ww9dw3qa/biopython/Bio/Phylo/CDAO.pyr      s    	(	zTree.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r      s   r   c               @   s1   e  Z d  Z d Z d d d d d d d „ Z d S)r	   zCDAO Clade (sub-tree) object.g      ð?Nc          
   C   sP   t  j j |  d | d | d | d | ƒ| |  _ g  |  _ g  |  _ g  |  _ d S)z,Initialize values for the CDAO Clade object.Úbranch_lengthr   ÚcladesÚ
confidenceN)r   r	   r   Úcommentr   Ztu_attributesZedge_attributes)r   r   r   r   r   r   r   r   r   r   "   s    				zClade.__init__)r   r   r   r   r   r   r   r   r   r	      s   r	   N)r   Z	Bio.Phylor   r   r	   r   r   r   r   Ú<module>   s   