Source code for proteobench.exceptions

[docs] class ProteobenchError(Exception): pass
[docs] class DatasetAlreadyExistsOnServerError(Exception): """Raised when attempting to submit a dataset that already exists on the public datasets server.""" pass
[docs] class ProteoBenchError(Exception): """Base exception class for ProteoBench.""" pass
class ParseError(ProteoBenchError): """Raised when there's an error parsing input files.""" pass
[docs] class ValidationError(ProteoBenchError): """Raised when data validation fails.""" pass
[docs] class ParseError(ProteobenchError): def __init__(self, message): self.message = message super().__init__(self.message)
[docs] class ParseSettingsError(ProteobenchError): def __init__(self, message): self.message = message super().__init__(self.message)
[docs] class DatapointAppendError(ProteobenchError): def __init__(self, message): self.message = message super().__init__(self.message)
[docs] class DatapointGenerationError(ProteobenchError): def __init__(self, message): self.message = message super().__init__(self.message)
[docs] class IntermediateFormatGenerationError(ProteobenchError): def __init__(self, message): self.message = message super().__init__(self.message)
[docs] class QuantificationError(ProteobenchError): def __init__(self, message): self.message = message super().__init__(self.message)
[docs] class PlotError(ProteobenchError): def __init__(self, message): self.message = message super().__init__(self.message)
[docs] class ConvertStandardFormatError(ProteobenchError): def __init__(self, message): self.message = message super().__init__(self.message)