Commit 83e3f852 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Fixed incorrect search mapping parameter.

parent 627051bf
Pipeline #75036 failed with stages
in 18 minutes and 14 seconds
......@@ -173,7 +173,7 @@ class OptimadeEntry(MSection):
dimension_types = Quantity(
type=int, shape=[3], default=[0, 0, 0],
links=optimade_links('h.6.2.8'),
a_search=Search(value=lambda a: sum(a.dimension_types), type=Integer),
a_search=Search(value=lambda a: sum(a.dimension_types), mapping=Integer),
a_optimade=Optimade(query=True, entry=True),
description='''
List of three integers. For each of the three directions indicated by the three lattice
......
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