Пример #1
0
    def end(self):
        """
        Locus object referring to the end of the interval (exclusive).

        :rtype: :class:`.Locus`
        """
        return Locus._from_java(self._jrep.end())
Пример #2
0
    def start(self):
        """
        Locus object referring to the start of the interval (inclusive).

        :rtype: :class:`.Locus`
        """
        return Locus._from_java(self._jrep.start())
Пример #3
0
 def _convert_to_py(self, annotation):
     if annotation:
         return Locus._from_java(annotation)
     else:
         return annotation
Пример #4
0
 def _init_from_java(self, jrep):
     self._jrep = jrep
     self._start = Locus._from_java(self._jrep.start())
Пример #5
0
Файл: expr.py Проект: Fedja/hail
 def _convert_to_py(self, annotation):
     if annotation:
         return Locus._from_java(annotation)
     else:
         return annotation