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

Fixed broken optimade test.

parent bc8411fe
Pipeline #61730 passed with stages
in 35 minutes and 18 seconds
......@@ -108,7 +108,8 @@ class DomainProviderBase extends React.Component {
external_id: {},
pid: {},
mainfile: {},
calc_hash: {}
calc_hash: {},
formula: {}
},
/**
* An dict where each object represents a column. Possible keys are label, render.
......
......@@ -20,7 +20,7 @@ import pytest
from nomad.processing import Upload
from nomad import search, processing as proc
from nomad.parsing import LocalBackend
from nomad.datamodel.dft import CalcWithMetadata
from nomad.datamodel import CalcWithMetadata
from nomad.app.optimade import parse_filter, url
......@@ -77,7 +77,7 @@ def create_test_structure(
calc.apply_domain_metadata(backend)
if without_optimade:
calc.optimade = None
calc.optimade = None # type: ignore
proc.Calc.from_calc_with_metadata(calc).save()
search.Entry.from_calc_with_metadata(calc).save()
......
Markdown is supported
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