Commit a3dd07c4 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added default to optimade dimension_types to allow index in failure case.

parent 841dedee
Pipeline #71553 passed with stages
in 13 minutes and 50 seconds
......@@ -170,7 +170,7 @@ class OptimadeEntry(MSection):
''')
dimension_types = Quantity(
type=int, shape=[3],
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)),
a_optimade=Optimade(query=True, entry=True),
......
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