Skip to content

Commit

Permalink
fix: style
Browse files Browse the repository at this point in the history
  • Loading branch information
martahan committed Jun 7, 2024
1 parent 85f0712 commit d582106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seismostats/seismicity/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ def estimate_b(
if method == "positive":
# dataframe needs 'time' column to be sorted
if 'time' not in self.columns:
raise ValueError('"time" column needs to be set in order to use \
b-positive method')
raise ValueError('"time" column needs to be set in order to \
use the b-positive method')
mags = self.sort_values("time").magnitude
else:
mags = self.magnitude
Expand Down

0 comments on commit d582106

Please sign in to comment.