Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Apr 22, 2024
1 parent 3caa489 commit cf09928
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions anemoi/datasets/create/functions/actions/accumulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,6 @@ def compute_accumulations(
if not isinstance(param, (list, tuple)):
param = [param]

for p in param:
assert p in ["cp", "lsp", "tp", "sf", "lsf", "csf"], p

number = request.get("number", [0])
assert isinstance(number, (list, tuple))

Expand Down
2 changes: 1 addition & 1 deletion docs/building/sources/perturbations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ positive when using the `perturbations` function :

It uses the following arguments:

ensembles
members
A :ref:`reference <yaml-reference>` to the ensemble members.

center
Expand Down

0 comments on commit cf09928

Please sign in to comment.