diff --git a/src/geoloop/bin/Plotmain.py b/src/geoloop/bin/Plotmain.py index e6bc013c74a266da12bafd8c641b5f5cc171b779..6e5b749cc4971a89b89da7a446148ac36d151117 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",