From 2f4896e5016e70120adba1f6594fcc2b5ca71022 Mon Sep 17 00:00:00 2001 From: payetvin <113102157+payetvin@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:15:26 +0100 Subject: [PATCH] Fix path for ts-numbers in output dir (#2484) --- src/libs/antares/study/parts/common/cluster_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/antares/study/parts/common/cluster_list.cpp b/src/libs/antares/study/parts/common/cluster_list.cpp index 0feee3a77f..b9afbaff2f 100644 --- a/src/libs/antares/study/parts/common/cluster_list.cpp +++ b/src/libs/antares/study/parts/common/cluster_list.cpp @@ -96,7 +96,7 @@ void ClusterList::storeTimeseriesNumbers(Solver::IResultWriter& writer for (auto& cluster: each_enabled()) { - fs::path path = fs::path(cluster->parentArea->id.c_str()) + fs::path path = basePath / cluster->parentArea->id.c_str() / std::string(cluster->id() + ".txt"); ts_content.clear(); // We must clear ts_content here, since saveToBuffer does not do it.