diff --git a/src/libs/antares/study/area/list.cpp b/src/libs/antares/study/area/list.cpp index a03e5910c3..d138e784a6 100644 --- a/src/libs/antares/study/area/list.cpp +++ b/src/libs/antares/study/area/list.cpp @@ -934,14 +934,6 @@ static bool AreaListLoadFromFolderSingleArea(Study& study, study.parameters.derated, study.header.version, study.usedByTheSolver); } - buffer.clear() << study.folderInput << SEP << "hydro" << SEP << "common" << SEP - << "capacity" << SEP << "maxpower_" << area.id << ".txt"; - - if (bool exists = IO::File::Exists(buffer); study.header.version >= 870 && exists) - { - IO::File::Delete(buffer); - } - ++options.progressTicks; options.pushProgressLogs(); } diff --git a/src/libs/antares/study/study.cpp b/src/libs/antares/study/study.cpp index dfaf427287..1be10d54d6 100644 --- a/src/libs/antares/study/study.cpp +++ b/src/libs/antares/study/study.cpp @@ -1541,6 +1541,5 @@ void Study::computePThetaInfForThermalClusters() const } } } - } // namespace Antares::Data