aboutsummaryrefslogtreecommitdiff
path: root/r_qtl/errors.py
blob: 417eb588ac442366c320560298a2afab61dba4c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""R/qtl and R/qtl2 error types."""

class RQTLError(Exception):
    """Base class for R/qtl and R/qtl2 errors."""

class InvalidFormat(RQTLError):
    """Raised when the format of the file(s) is invalid."""

class MissingFileError(InvalidFormat):
    """
    Raise when at least one file listed in the control file is missing from the
    R/qtl2 bundle.
    """