diff --git a/redmapper/cluster_runner.py b/redmapper/cluster_runner.py index 63e26ea..b445366 100644 --- a/redmapper/cluster_runner.py +++ b/redmapper/cluster_runner.py @@ -169,7 +169,13 @@ def _setup(self): # read in mask (if available) # This will read in the mask and maskgals # Will work with any type of mask - self.mask = get_mask(self.config) + + try: + self.mask = get_mask(self.config) + except RuntimeError as e: + # Do not break if the pixel is outside the coverage map. + self.config.logger.info(repr(e)) + return False # read in the depth structure try: