diff --git a/eqcorrscan/core/match_filter/family.py b/eqcorrscan/core/match_filter/family.py index 24874663..d0db0c05 100644 --- a/eqcorrscan/core/match_filter/family.py +++ b/eqcorrscan/core/match_filter/family.py @@ -45,16 +45,13 @@ def __init__(self, template, detections=None, catalog=None): if isinstance(detections, Detection): detections = [detections] self.detections = detections or [] - self.__catalog = get_catalog(self.detections) if catalog: Logger.warning("Setting catalog directly is no-longer supported, " "now generated from detections.") @property def catalog(self): - if len(self.__catalog) != len(self.detections): - self.__catalog = get_catalog(self.detections) - return self.__catalog + return get_catalog(self.detections) @catalog.setter def catalog(self, catalog):