Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure parity with top level legacy methods #691

Merged
merged 11 commits into from
Oct 11, 2022

Conversation

munrojm
Copy link
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