コード例 #1
0
ファイル: feature_node.py プロジェクト: Hanimal/genometools
 def has_type(self, type):
     return gtlib.gt_feature_node_has_type(self.gn, type) == 1
コード例 #2
0
ファイル: feature_node.py プロジェクト: teythoon/genometools
 def has_type(self, type):
     return gtlib.gt_feature_node_has_type(self.gn, type.encode("UTF-8")) == 1
コード例 #3
0
ファイル: feature_node.py プロジェクト: pythseq/EDTA
 def has_type(self, type):
     return gtlib.gt_feature_node_has_type(self.gn,
                                           type.encode('UTF-8')) == 1
コード例 #4
0
 def has_type(self, type):
     return gtlib.gt_feature_node_has_type(self.gn, type) == 1