From 6942d683e91530f4571fe64406621f26541e54e7 Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Thu, 21 Nov 2024 14:45:12 -0600 Subject: [PATCH] Minor format tweak to unrecognized engine error (#9809) --- xarray/backends/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xarray/backends/plugins.py b/xarray/backends/plugins.py index e321aece640..555538c2562 100644 --- a/xarray/backends/plugins.py +++ b/xarray/backends/plugins.py @@ -200,7 +200,7 @@ def get_backend(engine: str | type[BackendEntrypoint]) -> BackendEntrypoint: engines = list_engines() if engine not in engines: raise ValueError( - f"unrecognized engine {engine} must be one of your download engines: {list(engines)}" + f"unrecognized engine '{engine}' must be one of your download engines: {list(engines)}. " "To install additional dependencies, see:\n" "https://docs.xarray.dev/en/stable/user-guide/io.html \n" "https://docs.xarray.dev/en/stable/getting-started-guide/installing.html"