From 753961a53ef225650b1ac6c0a2ae2664a09e0605 Mon Sep 17 00:00:00 2001 From: Sidney Gathrid Date: Thu, 4 Jul 2024 11:42:09 -0700 Subject: [PATCH] add debug statement in `planet.py` --- thema/multiverse/system/inner/planet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thema/multiverse/system/inner/planet.py b/thema/multiverse/system/inner/planet.py index 57585e8..334cbda 100644 --- a/thema/multiverse/system/inner/planet.py +++ b/thema/multiverse/system/inner/planet.py @@ -253,7 +253,9 @@ def __init__( self.verbose = verbose self.YAML_PATH = None if YAML_PATH is not None: - assert os.path.isfile(YAML_PATH), "params.yaml file not found!" + assert os.path.isfile( + YAML_PATH + ), f"yaml parameter file could not be found: {YAML_PATH}" self.YAML_PATH = YAML_PATH with open(YAML_PATH, "r") as f: