aboutsummaryrefslogtreecommitdiff
path: root/r_qtl/exceptions.py
blob: 9620cf4e9297ae17c200baf1a4baee31fe9a4bee (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 MissingFileException(InvalidFormat):
    """
    Raise when at least one file listed in the control file is missing from the
    R/qtl2 bundle.
    """