atom lists in "show API code" - Python
When searching in https://nomad-lab.eu/prod/rae/gui/search
for multiple atoms, e.g., C, Li, Si the search result and the URL behave as one would expect, i.e.:
https://nomad-lab.eu/prod/rae/gui/search?visualization=elements&only_atoms=Li&only_atoms=Si&only_atoms=C
and the listed results indeed have formulas containing Li, Si, C (only).
However, the 'show API code' python contains only the last selected atomic species:
from nomad import client, config
config.client.url = 'http://nomad-lab.eu/prod/rae/api'
results = client.query_archive(query={
'only_atoms': ['Li']})
print(results)
I would have expected something like
'only_atoms': ['C','Si','Li']})
This happens also when "only_atoms" isn't selected
Edited by Luca Massimiliano Ghiringhelli