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.