Skip to content

Commit

Permalink
fixed error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
dlakaplan committed Dec 18, 2023
1 parent 1cd510b commit 428a5c6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pint/models/stand_alone_psr_binaries/ELL1H_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ def delayS(self):
stigma = 0.0
else:
raise NotImplementedError(
"ELL1H did not implement %s parameter"
" set yet." % str(self.fit_params)
f"ELL1H did not implement {str(self.fit_params)} parameter set yet."
)
return self.ds_func(self.H3, stigma, self.NHARMS)

Expand Down Expand Up @@ -191,7 +190,7 @@ def d_STIGMA_d_H3(self):
d_stigma_d_H3 = 0.0
else:
raise NotImplementedError(
f"ELL1H did not implemented {str(self.fit_params)} parameter set yet."
f"ELL1H did not implement {str(self.fit_params)} parameter set yet."
)
return d_stigma_d_H3

Expand Down

0 comments on commit 428a5c6

Please sign in to comment.