From eb61443a1a93a8cbd06510548b25cc77cfd9d3a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B6ffler=2C=20Hannes?= Date: Thu, 11 Jul 2024 09:24:40 +0200 Subject: [PATCH] fixed: convert value of environment variable to pathlib --- reinvent/prior_registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reinvent/prior_registry.py b/reinvent/prior_registry.py index cd674d9..4ac686f 100644 --- a/reinvent/prior_registry.py +++ b/reinvent/prior_registry.py @@ -10,7 +10,7 @@ if "REINVENT_PRIOR_BASE" in os.environ: - PRIOR_BASE = os.environ["REINVENT_PRIOR_BASE"] + PRIOR_BASE = pathlib.Path(os.environ["REINVENT_PRIOR_BASE"]) else: PRIOR_BASE = pathlib.Path(reinvent.__file__).parents[1] / "priors"