Exemple #1
0
 def load_anno_all(self,wjd):
     if "anno_all" not in wjd: return
     for aID, aset in wjd["anno_all"].items():
         a = Annotation(aID,name=aset['name'],address=aset['address'],tag=aset['tag'],
             desc=aset["desc"],comment=aset["comment"],numfile=aset["numfile"],
             created_at=datetime_parse(  aset["created_at"])
             )
         a.add_dataset_ID(aset["dataset_ID"])
         self.add_annotation(a)