diff --git a/antarest/study/common/studystorage.py b/antarest/study/common/studystorage.py index 552697b25d..eb3f561448 100644 --- a/antarest/study/common/studystorage.py +++ b/antarest/study/common/studystorage.py @@ -276,7 +276,7 @@ def export_study_flat( path_study: source path. dst_path: destination path. outputs: list of outputs to keep. - output_src_path: list of source outputs path + output_src_path: list output path output_list_filter:list of outputs to keep """ raise NotImplementedError() diff --git a/antarest/study/service.py b/antarest/study/service.py index fb487cb2c8..baaf7a9782 100644 --- a/antarest/study/service.py +++ b/antarest/study/service.py @@ -1036,7 +1036,7 @@ def export_study_flat( storage = self.storage_service.get_storage(study) if isinstance(study, RawStudy): if study.archived: - storage.unarchive(study) + storage.unarchived(study) try: return storage.export_study_flat( path_study=path_study, diff --git a/antarest/study/storage/rawstudy/raw_study_service.py b/antarest/study/storage/rawstudy/raw_study_service.py index c4552cc350..cc73f37391 100644 --- a/antarest/study/storage/rawstudy/raw_study_service.py +++ b/antarest/study/storage/rawstudy/raw_study_service.py @@ -368,7 +368,7 @@ def archive(self, study: RawStudy) -> Path: self.cache.invalidate(study.id) return new_study_path - def unarchived(self, study: RawStudy) -> None: + def unarchive(self, study: RawStudy) -> None: with open( self.get_archive_path(study), "rb", diff --git a/antarest/study/storage/variantstudy/variant_study_service.py b/antarest/study/storage/variantstudy/variant_study_service.py index cc18c03bb7..85299f3736 100644 --- a/antarest/study/storage/variantstudy/variant_study_service.py +++ b/antarest/study/storage/variantstudy/variant_study_service.py @@ -727,7 +727,7 @@ def _generate( else: path_study = Path(parent_study.path) if parent_study.archived: - self.raw_study_service.unarchived(parent_study) + self.raw_study_service.unarchive(parent_study) try: self.raw_study_service.export_study_flat( path_study=path_study,