Skip to content

Commit

Permalink
Work on plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Jun 5, 2024
1 parent 670b9bc commit 090c722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anemoi/datasets/create/functions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def import_function(name, kind):
name = name.replace("-", "_")

plugins = {}
for e in entrypoints.get_group_all(f"anemoi.datasets.{kind}s"):
for e in entrypoints.get_group_all(f"anemoi.datasets.{kind}"):
plugins[e.name.replace("_", "-")] = e

if name in plugins:
Expand Down

0 comments on commit 090c722

Please sign in to comment.