From 91b0d54d519b05db88f4397063ef6cb0901d90ed Mon Sep 17 00:00:00 2001 From: Wolfgang Kerzendorf Date: Mon, 27 Nov 2023 17:03:29 -0500 Subject: [PATCH] Fix path concatenation in get_data_dir function --- tardis/io/configuration/config_internal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tardis/io/configuration/config_internal.py b/tardis/io/configuration/config_internal.py index 8258e3ebc3a..c91caa0ae0f 100644 --- a/tardis/io/configuration/config_internal.py +++ b/tardis/io/configuration/config_internal.py @@ -31,7 +31,7 @@ def get_data_dir(): config = get_internal_configuration() data_dir = config.get("data_dir", None) if data_dir is None: - config_fpath = get_config_dir() / "tardis_internal_config.yml" + config_fpath = Path(get_config_dir()) / "tardis_internal_config.yml" logging.critical( f"\n{'*' * 80}\n\nTARDIS will download different kinds of data (e.g. atomic) to its data directory {DEFAULT_DATA_DIR}\n\n" f"TARDIS DATA DIRECTORY not specified in {config_fpath}:\n\n"