Skip to content

Commit

Permalink
Merge pull request #139 from Deltares/added-missing-f-string
Browse files Browse the repository at this point in the history
Converted string to f-string
  • Loading branch information
Huite authored Aug 7, 2023
2 parents c972df3 + f34d1c8 commit b6c4fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xugrid/ugrid/ugridbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def _single_topology(dataset: xr.Dataset):
raise ValueError("Dataset contains no UGRID topology variable.")
elif n_topology > 1:
raise ValueError(
"Dataset contains {n_topology} topology variables, "
f"Dataset contains {n_topology} topology variables, "
"please specify the topology variable name to use."
)
return topologies[0]
Expand Down

0 comments on commit b6c4fb5

Please sign in to comment.