Skip to content

Commit

Permalink
lint but better this time
Browse files Browse the repository at this point in the history
  • Loading branch information
patricktnast committed Nov 26, 2024
1 parent 41372f5 commit 32cc629
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/risk_distributions/risk_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ def get_parameters(
# transforming them into RuntimeWarnings. This gets noisy in our logs.
with warnings.catch_warnings():
warnings.simplefilter("ignore", RuntimeWarning)
parameters.loc[computable, list(cls.expected_parameters)] = (
cls._get_parameters(
mean.loc[computable],
sd.loc[computable],
parameters.loc[computable, "x_min"],
parameters.loc[computable, "x_max"],
)
parameters.loc[
computable, list(cls.expected_parameters)
] = cls._get_parameters(
mean.loc[computable],
sd.loc[computable],
parameters.loc[computable, "x_min"],
parameters.loc[computable, "x_max"],
)

return parameters
Expand Down

0 comments on commit 32cc629

Please sign in to comment.