Skip to content

Commit

Permalink
Merge branch 'main' into matching-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmariegaard committed Nov 19, 2023
2 parents be54548 + cbf562d commit 4a2fd4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion modelskill/comparison/_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ def weighted_mean(x):

# group by
by = cmp._mean_skill_by(skilldf, mod_names, var_names)
agg = {"n": np.sum}
agg = {"n": "sum"}
for metric in metrics: # type: ignore
agg[metric.__name__] = weighted_mean # type: ignore
res = skilldf.groupby(by).agg(agg)
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ classifiers = [
"Topic :: Scientific/Engineering",
]

[project.scripts]
modelskill = "modelskill.cli:report"

[project.optional-dependencies]
dev = ["pytest",
"sphinx==4.5.0", # pin version to work with sphinx-book-theme
Expand Down

0 comments on commit 4a2fd4a

Please sign in to comment.