From f34d1c897386e2263036a0f7269baf25e2057a4a Mon Sep 17 00:00:00 2001 From: veenstrajelmer <60435591+veenstrajelmer@users.noreply.github.com> Date: Mon, 7 Aug 2023 11:42:38 +0200 Subject: [PATCH] Converted string to f-string --- xugrid/ugrid/ugridbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xugrid/ugrid/ugridbase.py b/xugrid/ugrid/ugridbase.py index 3c7e2321a..ac28841bf 100644 --- a/xugrid/ugrid/ugridbase.py +++ b/xugrid/ugrid/ugridbase.py @@ -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]