From 2c929e367c3610292975d9026f7bda1461996252 Mon Sep 17 00:00:00 2001 From: korevaarzer Date: Wed, 26 Aug 2026 13:56:05 +0200 Subject: [PATCH] fix: resolve run config path relative to plot config file --- src/geoloop/bin/Plotmain.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/geoloop/bin/Plotmain.py b/src/geoloop/bin/Plotmain.py index e6bc013..6e5b749 100644 --- a/src/geoloop/bin/Plotmain.py +++ b/src/geoloop/bin/Plotmain.py @@ -86,7 +86,9 @@ def main_plotmain(config_path: str | Path) -> None: if config.plot_borehole_temp: run_name = plotinput.run_names[i] - runjson = run_name + ".json" + runjson = config.config_file_path.parent / ( + run_name + ".json" + ) keysneeded = [] keysoptional = [ "litho_k_param", -- GitLab