From 28fe259e3437c4c2aba59969beebf8cceb9990b9 Mon Sep 17 00:00:00 2001 From: fynnbe Date: Fri, 11 Oct 2024 16:37:22 +0200 Subject: [PATCH] black --- bioimageio_collection_backoffice/conda_env.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bioimageio_collection_backoffice/conda_env.py b/bioimageio_collection_backoffice/conda_env.py index 59626dc4..f89ca9c8 100644 --- a/bioimageio_collection_backoffice/conda_env.py +++ b/bioimageio_collection_backoffice/conda_env.py @@ -293,6 +293,7 @@ def _ensure_min_env(env: CondaEnv, env_name: Optional[str] = None): ): env["dependencies"].append("conda-forge::bioimageio.core") + def _ensure_valid_conda_env_name(name: str) -> str: for illegal in ("/", " ", ":", "#"): name = name.replace(illegal, "")