Back to index

python-biopython  1.60
Public Member Functions | Public Attributes
Bio.Phylo.PhyloXML.BinaryCharacters Class Reference
Inheritance diagram for Bio.Phylo.PhyloXML.BinaryCharacters:
Inheritance graph
[legend]
Collaboration diagram for Bio.Phylo.PhyloXML.BinaryCharacters:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

 type
 gained_count
 lost_count
 present_count
 absent_count
 gained
 lost
 present
 absent

Detailed Description

The names and/or counts of binary characters present, gained, and lost
at the root of a clade. 

Definition at line 490 of file PhyloXML.py.


Constructor & Destructor Documentation

def Bio.Phylo.PhyloXML.BinaryCharacters.__init__ (   self,
  type = None,
  gained_count = None,
  lost_count = None,
  present_count = None,
  absent_count = None,
  gained = None,
  lost = None,
  present = None,
  absent = None 
)

Definition at line 499 of file PhyloXML.py.

00499 
00500             gained=None, lost=None, present=None, absent=None):
00501         self.type=type
00502         self.gained_count=gained_count
00503         self.lost_count=lost_count
00504         self.present_count=present_count
00505         self.absent_count=absent_count
00506         self.gained=gained or []
00507         self.lost=lost or []
00508         self.present=present or []
00509         self.absent=absent or []
00510 
00511 


Member Function Documentation

def Bio.Phylo.BaseTree.TreeElement.__repr__ (   self) [inherited]
Show this object's constructor with its primitive arguments.

Definition at line 216 of file BaseTree.py.

00216 
00217     def __repr__(self):
00218         """Show this object's constructor with its primitive arguments."""
00219         def pair_as_kwarg_string(key, val):
00220             if isinstance(val, basestring):
00221                 return "%s='%s'" % (key, _sugar.trim_str(unicode(val)))
00222             return "%s=%s" % (key, val)
00223         return u'%s(%s)' % (self.__class__.__name__,
00224                             ', '.join(pair_as_kwarg_string(key, val)
00225                                   for key, val in self.__dict__.iteritems()
00226                                   if val is not None and
00227                                   type(val) in (str, int, float, bool, unicode)
00228                                   ))


Member Data Documentation

Definition at line 508 of file PhyloXML.py.

Definition at line 504 of file PhyloXML.py.

Definition at line 505 of file PhyloXML.py.

Definition at line 501 of file PhyloXML.py.

Definition at line 506 of file PhyloXML.py.

Definition at line 502 of file PhyloXML.py.

Definition at line 507 of file PhyloXML.py.

Definition at line 503 of file PhyloXML.py.

Definition at line 500 of file PhyloXML.py.


The documentation for this class was generated from the following file: