Skip to content

Commit

Permalink
Update metrics.py
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulcollenteur committed Feb 6, 2023
1 parent 62cb803 commit 9a4c525
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pastas/stats/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,10 @@ def _compute_err(
elif res is not None:
err = -res
else:
msg = ("Either the residuals, or the simulation and observations have to be "
"provided. Please provide one of these two input options.")
msg = (
"Either the residuals, or the simulation and observations have to be "
"provided. Please provide one of these two input options."
)
logger.error(msg)
raise ValueError(msg)

Expand Down

0 comments on commit 9a4c525

Please sign in to comment.