Skip to content

Commit

Permalink
fixed linting and other pre-commit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
richardarsenault committed Dec 22, 2023
2 parents dd1693c + 19efaf4 commit 7c11f6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions xhydro/modelling/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def __init__(
transform=None,
epsilon=None,
):
"""Initialize the spot_setup object.
"""
Initialize the spot_setup object.
The initialization of the spot_setup object includes a generic
"model_config" object containing hydrological modelling data required,
Expand Down Expand Up @@ -164,7 +165,8 @@ def objectivefunction(
simulation,
evaluation,
):
"""Objective function for spotpy.
"""
Objective function for spotpy.
This function is where spotpy computes the objective function.
Expand Down
2 changes: 1 addition & 1 deletion xhydro/modelling/obj_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ def get_optimizer_minimize_or_maximize(algorithm):
minimized, it is imperative to ensure that the optimizer/objective-function
pair work in tandem.
Inputs:
algorithm: string containing the direction of the optimizer search
"""
Expand Down Expand Up @@ -349,7 +350,6 @@ def transform_flows(Qsim, Qobs, transform=None, epsilon=0.01):
-------
Qsim, Qobs transformed according to the transformation function requested
by the user in "transform". Qsim and Qobs are numpy arrays.
"""
# Quick check
if transform is not None:
Expand Down

0 comments on commit 7c11f6a

Please sign in to comment.