materialsproject / api

New API client for the Materials Project
https://materialsproject.github.io/api/
Other
108 stars 40 forks source link

[Feature Request]: Support querying structures by anonymous formula #885

Closed miicck closed 7 months ago

miicck commented 7 months ago

Problem

Support querying structures by anonymous formula: e.g. return all "A2BC16" structures. See previous pymatgen issue.

Proposed Solution

Something like this would be ideal:

image

Alternatives

I think this used to be supported, see: https://github.com/materialsproject/pymatgen/issues/1167

miicck commented 7 months ago

Apologies, just realised that anonymised formula is supported via the "formula" keyword argument.