Source code for conesToolBox.conesErrors

import os

[docs] class conesPathNotFound(Exception): """ Exception raised when the files are not found """ def __init__(self, path): self.path = path super().__init__(f"CONES ERROR: '{path}' not found")
[docs] class obsNotInClippingsError(Exception): pass
#class obsNotInClippingsError(Exception): # """Exception raised when an observation is not included in the cell list of a region""" # def __init__(self, obsID): # self.obsID = obsID # self.message = "observation "+str(obsID)+" does not belong to any clipping. Please check and re-run your topoSetDict" # super().__init__(self.message)