diff --git a/csep/core/catalogs.py b/csep/core/catalogs.py index 3b0fecfe..6d7bf20c 100644 --- a/csep/core/catalogs.py +++ b/csep/core/catalogs.py @@ -82,16 +82,16 @@ def __str__(self): s = f''' Name: {self.name} - + Start Date: {self.start_time} End Date: {self.end_time} - + Latitude: ({self.min_latitude}, {self.max_latitude}) Longitude: ({self.min_longitude}, {self.max_longitude}) - + Min Mw: {self.min_magnitude} Max Mw: {self.max_magnitude} - + Event Count: {self.event_count} ''' return s @@ -623,7 +623,7 @@ def compute_mct(t, m): return self # this is used to index the array, starting with accepting all events - filter = numpy.ones(self.event_count, dtype=numpy.bool) + filter = numpy.ones(self.event_count, dtype=bool) for i, (mw, time) in enumerate(zip(mws, times)): # we can break bc events are sorted in time if time > t_crit_epoch: