diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a4d7c73..a2c6de2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ and the versioning aims to respect [Semantic Versioning](http://semver.org/spec/ [#722](https://github.com/OpenEnergyPlatform/open-MaStR/pull/722) ### Removed +- Remove duplicated code in Mastr.download + [#727](https://github.com/OpenEnergyPlatform/open-MaStR/pull/727) ## [v0.16.1] Hotfix - 2025-12-17 diff --git a/open_mastr/mastr.py b/open_mastr/mastr.py index a6588c4f..fbb382db 100644 --- a/open_mastr/mastr.py +++ b/open_mastr/mastr.py @@ -239,15 +239,6 @@ def download( "or configure your own number of processes via os.environ['NUMBER_OF_PROCESSES'] = your_number\n" ) - delete_zip_file_if_corrupted(zipped_xml_file_path) - delete_xml_files_not_from_given_date(zipped_xml_file_path, xml_folder_path) - - print( - "\nWould you like to speed up the creation of your MaStR database?\n" - "Try our new parallelized processing by setting os.environ['USE_RECOMMENDED_NUMBER_OF_PROCESSES'] = True " - "or configure your own number of processes via os.environ['NUMBER_OF_PROCESSES'] = your_number\n" - ) - write_mastr_xml_to_database( engine=self.engine, zipped_xml_file_path=zipped_xml_file_path,