diff --git a/src/libs/antares/study/load.cpp b/src/libs/antares/study/load.cpp index 4555e106bd..4175bc2305 100644 --- a/src/libs/antares/study/load.cpp +++ b/src/libs/antares/study/load.cpp @@ -126,11 +126,11 @@ void Study::parameterFiller(const StudyLoadOptions& options) if (usedByTheSolver) { // We have time-series to import - if (parameters.exportTimeSeriesInInput && header.version == StudyVersion::latest()) + if (parameters.exportTimeSeriesInInput && header.version != StudyVersion::latest()) { logs.info() << "Stochastic TS stored in input parametrized." - " Disabling Store in input because study is not at latest version" - "Prevents writing data in unsupported format at the study version"; + " Disabling Store in input because study is not at latest version." + " This prevents writing data in unsupported format at the study version"; parameters.exportTimeSeriesInInput = 0; } }