Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
e8971ac3
Commit
e8971ac3
authored
Oct 11, 2019
by
Markus Scheidgen
Browse files
Fixed broken optimade test.
parent
bc8411fe
Pipeline
#61730
passed with stages
in 35 minutes and 18 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gui/src/components/domains.js
View file @
e8971ac3
...
...
@@ -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.
...
...
tests/app/test_optimade.py
View file @
e8971ac3
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment