Skip to content

Commit

Permalink
Corrected required type of dimension_chunksizes. (#5581)
Browse files Browse the repository at this point in the history
  • Loading branch information
trexfeathers authored Nov 15, 2023
1 parent ef895e1 commit a979fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/iris/fileformats/netcdf/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,8 +767,8 @@ def set(
and isinstance(chunksize, int)
):
msg = (
"'dimension_chunksizes' kwargs should be an iterable "
f"of (str, int) pairs, not {dimension_chunksizes!r}."
"'dimension_chunksizes' kwargs should be a dict "
f"of `str: int` pairs, not {dimension_chunksizes!r}."
)
raise ValueError(msg)
dim_chunks[dim_name] = chunksize
Expand Down

0 comments on commit a979fdc

Please sign in to comment.