# Path: gmql/managers.py
# def get_python_manager():
#     global __pythonManager
# 
#     if __pythonManager is None:
#         # Starting the GMQL manager
#         start()
#         return __pythonManager
#     else:
#         return __pythonManager


from ...managers import get_python_manager
     or equal to, N bases. There are two special less-equal distances clauses: 
     DLE(-1) searches for regions of the experiment which overlap with the anchor 
     region (regardless the extent of the overlap), while DLE(0) searched for experiment 
     regions adjacent to, or overlapping, the anchor region
     """
    def __init__(self, limit):
        super(DLE, self).__init__(condition_name="DLE", argument=limit)


class DGE(GenometricCondition):
    """ Greater-equal distance clause, which selects all the regions of the experiment 
    such that their distance from the anchor region is greater than, or equal to, N bases"""
    def __init__(self, limit):
        super(DGE, self).__init__(condition_name="DGE", argument=limit)


class DL(GenometricCondition):
    """ Less than distance clause, which selects all the regions of the experiment
    such that their distance from the anchor region is less than N bases"""
    def __init__(self, limit):
        super(DL, self).__init__(condition_name="DL", argument=limit)


class DG(GenometricCondition):
    """ Greater than distance clause, which selects all the regions of the experiment
    such that their distance from the anchor region is greater than N bases"""
    def __init__(self, limit):
        super(DG, self).__init__(condition_name="DG", argument=limit)



# Path: gmql/managers.py
# def get_python_manager():
#     global __pythonManager
# 
#     if __pythonManager is None:
#         # Starting the GMQL manager
#         start()
#         return __pythonManager
#     else:
#         return __pythonManager


# Path: gmql/dataset/DataStructures/GenometricPredicates.py
from ...managers import get_python_manager

     or equal to, N bases. There are two special less-equal distances clauses: 
     DLE(-1) searches for regions of the experiment which overlap with the anchor 
     region (regardless the extent of the overlap), while DLE(0) searched for experiment 
     regions adjacent to, or overlapping, the anchor region
     """
    def __init__(self, limit):
        super(DLE, self).__init__(condition_name="DLE", argument=limit)


class DGE(GenometricCondition):
    """ Greater-equal distance clause, which selects all the regions of the experiment 
    such that their distance from the anchor region is greater than, or equal to, N bases"""
    def __init__(self, limit):
        super(DGE, self).__init__(condition_name="DGE", argument=limit)


class DL(GenometricCondition):
    """ Less than distance clause, which selects all the regions of the experiment
    such that their distance from the anchor region is less than N bases"""
    def __init__(self, limit):
        super(DL, self).__init__(condition_name="DL", argument=limit)


class DG(GenometricCondition):
    """ Greater than distance clause, which selects all the regions of the experiment
    such that their distance from the anchor region is greater than N bases"""
    def __init__(self, limit):
        super(DG, self).__init__(condition_name="DG", argument=limit)



class MD(GenometricCondition):