コード例 #1
0
ファイル: feature_node.py プロジェクト: Hanimal/genometools
 def add_attribute(self, attrib, value):
     if attrib == "" or value == "":
         gterror("attribute keys or values must not be empty!")
     gtlib.gt_feature_node_add_attribute(self.gn, attrib, value)
コード例 #2
0
ファイル: feature_node.py プロジェクト: teythoon/genometools
 def add_attribute(self, attrib, value):
     if attrib == "" or value == "":
         gterror("attribute keys or values must not be empty!")
     gtlib.gt_feature_node_add_attribute(self.gn, str(attrib).encode("UTF-8"), str(value).encode("UTF-8"))
コード例 #3
0
ファイル: feature_node.py プロジェクト: pythseq/EDTA
 def add_attribute(self, attrib, value):
     if attrib == "" or value == "":
         gterror("attribute keys or values must not be empty!")
     gtlib.gt_feature_node_add_attribute(self.gn,
                                         str(attrib).encode("UTF-8"),
                                         str(value).encode("UTF-8"))
コード例 #4
0
 def add_attribute(self, attrib, value):
     if attrib == "" or value == "":
         gterror("attribute keys or values must not be empty!")
     gtlib.gt_feature_node_add_attribute(self.gn, attrib, value)