Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 0 additions & 9 deletions open_mastr/mastr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading