Commit 80c36332 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added missing immutable_id as filter quantity. #450

parent 212f2494
...@@ -46,6 +46,7 @@ def _get_transformer(nomad_properties, without_prefix): ...@@ -46,6 +46,7 @@ def _get_transformer(nomad_properties, without_prefix):
if 'search' in q.m_annotations} if 'search' in q.m_annotations}
quantities['id'] = Quantity('id', es_field='calc_id') quantities['id'] = Quantity('id', es_field='calc_id')
quantities['immutable_id'] = Quantity('immutable_id', es_field='calc_id')
quantities['elements'].length_quantity = quantities['nelements'] quantities['elements'].length_quantity = quantities['nelements']
quantities['elements'].has_only_quantity = Quantity(name='only_atoms') quantities['elements'].has_only_quantity = Quantity(name='only_atoms')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment