diff --git a/pycbc/events/stat.py b/pycbc/events/stat.py index a8e52c66d49..8bc838be756 100644 --- a/pycbc/events/stat.py +++ b/pycbc/events/stat.py @@ -1082,13 +1082,6 @@ def find_fits(self, trigs): thresh: float or numpy array The thresh fit value(s) """ - try: - # Exists where trigs is a class with the template num attribute - tnum = trigs.template_num - except AttributeError: - # Exists where trigs is dict-like - tnum = trigs['template_id'] - try: ifo = trigs.ifo except AttributeError: