Open thomasgho opened 1 year ago
Hi @thomasgho, unfortunately the elasticity endpoint does not support searching with lists of MPIDs. This endpoint is going to be updated soon alongside a big data release, where that will be added in. For now, I would recommend passing nothing to the endpoint to just pull every document and filter locally (it isn't very large), or just use MPRester.elasticity.get_data_by_id
.
Hello, I'm trying to retrieve elasticity documents, but failing to do so when searching via material ids.
Version Info
python == 3.11.3 mp-api == 0.33.3 emmet-core == 0.55.2
Reproduction
From the direction of the website under Elastic Constant -> API for a material, I tried:
This raises:
Expected Behavior
The elasticity document to be returned for given material ids.