# Path: pydigree/exceptions.py
# class NotMeaningfulError(Exception):
#     """
#     The error raised for something that does not a meaningul result"
#     """
# 
#     pass


from pydigree.exceptions import NotMeaningfulError

class AlleleContainer(object):
    " A base class for the interface allele containers object must implement"

    def empty_like(self):
        raise NotImplementedError

    def copy_span(self, template, start, stop):
        raise NotImplementedError

    def dtype(self):
        raise NotImplementedError

    def __eq__(self, other):
        raise NotImplementedError

    def __lt__(self, other):
        raise NotMeaningfulError(
            'Value comparisions not meaningful for genotypes')

    def __gt__(self, other):
        raise NotMeaningfulError(
            'Value comparisions not meaningful for genotypes')

    def __le__(self, other):

# Path: pydigree/exceptions.py
# class NotMeaningfulError(Exception):
#     """
#     The error raised for something that does not a meaningul result"
#     """
# 
#     pass


# Path: pydigree/genotypes/genoabc.py
from pydigree.exceptions import NotMeaningfulError


class AlleleContainer(object):
    " A base class for the interface allele containers object must implement"

    def empty_like(self):
        raise NotImplementedError

    def copy_span(self, template, start, stop):
        raise NotImplementedError

    def dtype(self):
        raise NotImplementedError

    def __eq__(self, other):
        raise NotImplementedError

    def __lt__(self, other):
        raise NotMeaningfulError(
            'Value comparisions not meaningful for genotypes')

    def __gt__(self, other):
        raise NotMeaningfulError(
            'Value comparisions not meaningful for genotypes')

    def __le__(self, other):

        raise NotMeaningfulError(