api icon indicating copy to clipboard operation
api copied to clipboard

nelements in search not working

Open sean-mcsherry opened this issue 3 years ago • 3 comments

Hello,

I recently updated to the latest release and noticed my query was not working (see below). It appears the nelements field is not working.

image

sean-mcsherry avatar Jul 26 '22 18:07 sean-mcsherry

Hi @sean-mcsherry, it would seem like this is num_elements:

https://github.com/materialsproject/api/blob/3850b8077fedd43e7db26b02814b0bb34ef6cc75/src/mp_api/routes/summary.py#L66

Perhaps @munrojm can comment on the change?

A note that--while an official release is hopefully very soon--the new API is still aimed at "early adopters" and some breaking changes like this may be expected during this time, but my apologies if this causes inconvenience.

mkhorton avatar Jul 26 '22 18:07 mkhorton

Related #614.

janosh avatar Aug 12 '22 17:08 janosh

Also related #683.

janosh avatar Dec 24 '22 19:12 janosh