diff --git a/antarest/study/storage/rawstudy/model/filesystem/root/output/simulation/mode/common/set.py b/antarest/study/storage/rawstudy/model/filesystem/root/output/simulation/mode/common/set.py index 4c8a624a5c..7ac2b3cd5e 100644 --- a/antarest/study/storage/rawstudy/model/filesystem/root/output/simulation/mode/common/set.py +++ b/antarest/study/storage/rawstudy/model/filesystem/root/output/simulation/mode/common/set.py @@ -33,9 +33,9 @@ def build(self) -> TREE: freq: MatrixFrequency for freq in MatrixFrequency: for output_type in ["id", "values"]: - file_name = f"{output_type}-{freq}.txt" + file_name = f"{output_type}-{freq.value}.txt" if (self.config.path / file_name).exists(): - children[f"{output_type}-{freq}"] = AreaOutputSeriesMatrix( + children[f"{output_type}-{freq.value}"] = AreaOutputSeriesMatrix( self.context, self.config.next_file(file_name), freq,