コード例 #1
0
ファイル: PhyloXMLIO.py プロジェクト: fabianegli/biopython
 def distribution(self, elem):
     """Create geographic distribution object."""
     return PX.Distribution(
         desc=_collapse_wspace(_get_child_text(elem, "desc")),
         points=_get_children_as(elem, "point", self.point),
         polygons=_get_children_as(elem, "polygon", self.polygon),
     )
コード例 #2
0
ファイル: PhyloXMLIO.py プロジェクト: gitly110/python_exc
 def distribution(self, elem):
     return PX.Distribution(
         desc=_collapse_wspace(_get_child_text(elem, 'desc')),
         points=_get_children_as(elem, 'point', self.point),
         polygons=_get_children_as(elem, 'polygon', self.polygon))