"""R/qtl and R/qtl2 error types.""" from collections import namedtuple 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."""