Skip to content
Snippets Groups Projects
Commit a69db397 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Fixed invalid mapping type.

parent a69671f6
Branches local_testing
Tags 1.0.0
2 merge requests!123V0.8.1,!121Encyclopedia api
Pipeline #75109 failed
...@@ -173,7 +173,7 @@ class OptimadeEntry(MSection): ...@@ -173,7 +173,7 @@ class OptimadeEntry(MSection):
dimension_types = Quantity( dimension_types = Quantity(
type=int, shape=[3], default=[0, 0, 0], type=int, shape=[3], default=[0, 0, 0],
links=optimade_links('h.6.2.8'), links=optimade_links('h.6.2.8'),
a_search=Search(value=lambda a: sum(a.dimension_types), mapping=Integer), a_search=Search(value=lambda a: sum(a.dimension_types), mapping=Integer()),
a_optimade=Optimade(query=True, entry=True), a_optimade=Optimade(query=True, entry=True),
description=''' description='''
List of three integers. For each of the three directions indicated by the three lattice List of three integers. For each of the three directions indicated by the three lattice
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment