Skip to content

Ensure parity with top level legacy methods#691

Merged
munrojm merged 11 commits intomainfrom
enhancement/get_entries_parity
Oct 11, 2022
Merged

Ensure parity with top level legacy methods#691
munrojm merged 11 commits intomainfrom
enhancement/get_entries_parity

Conversation

@munrojm
Copy link
Copy Markdown
Member

@munrojm munrojm commented Oct 11, 2022

This PR ensures backwards compatibility between the legacy MPRester top level methods involving getting ComputedStructureEntry objects. Specifically,

  • MPRester.get_entries
  • MPRester.get_entries_in_chemsys
  • MPRester.get_entry_by_material_id

For most of the added arguments, the missing functionality is fully implemented. The two that are deprecated are additional_criteria and inc_structure. The user is warned when passing these directly. Additional warnings are included in the docstrings.

@munrojm munrojm added the release:minor Minor release bump label Oct 11, 2022
@munrojm munrojm changed the title Ensure parity between get_entries* and get_entry* methods Ensure parity with top level legacy methods Oct 11, 2022
@munrojm munrojm merged commit 2292fc1 into main Oct 11, 2022
@munrojm munrojm deleted the enhancement/get_entries_parity branch December 6, 2022 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:minor Minor release bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant