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
ae177cd0
Commit
ae177cd0
authored
Jan 05, 2021
by
Markus Scheidgen
Browse files
Fixed optimade base url issues.
#450
parent
80c36332
Changes
2
Hide whitespace changes
Inline
Side-by-side
nomad/app_fastapi/optimade/optimade_config.json
View file @
ae177cd0
{
"debug"
:
false
,
"root_path"
:
"/optimade"
,
"base_url"
:
"http://nomad-lab.eu/prod/rae/optimade"
,
"implementation"
:
{
"name"
:
"NOMAD's Optimade implementation"
,
"source_url"
:
"https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR"
,
...
...
tests/app/test_api.py
View file @
ae177cd0
...
...
@@ -1235,7 +1235,7 @@ class TestRepo():
@
pytest
.
mark
.
parametrize
(
'query, nbuckets'
,
[
(
dict
(
interval
=
'1M'
,
metrics
=
'dft.total_energies'
),
1
),
(
dict
(
interval
=
'1d'
,
metrics
=
'dft.quantities'
),
6
),
(
dict
(
interval
=
'1y'
,
from_time
=
'2019-03-20T12:43:54.566414'
),
2
),
(
dict
(
interval
=
'1y'
,
from_time
=
'2019-03-20T12:43:54.566414'
),
1
),
(
dict
(
until_time
=
'2010-03-20T12:43:54.566414'
),
0
),
(
dict
(
interval
=
'1m'
,
from_time
=
'2020-02-20T12:43:54.566414'
,
metrics
=
'dft.calculations'
),
7201
)
])
...
...
Write
Preview
Supports
Markdown
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