示例#1
0
 def _convert_to_j(self, annotation):
     if annotation is not None:
         return jset(
             [self.element_type._convert_to_j(elt) for elt in annotation]
         )
     else:
         return annotation
示例#2
0
文件: expr.py 项目: jbloom22/hail
 def _convert_to_j(self, annotation):
     if annotation is not None:
         return jset(
             [self.element_type._convert_to_j(elt) for elt in annotation]
         )
     else:
         return annotation
示例#3
0
文件: typ.py 项目: wtsi-hgi/hail
 def _select(self, *identifiers):
     return TStruct._from_java(self._jtype.filter(jset(list(identifiers)), True)._1())
示例#4
0
文件: typ.py 项目: wtsi-hgi/hail
 def _drop(self, *identifiers):
     return TStruct._from_java(self._jtype.filter(jset(list(identifiers)), False)._1())