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
f03a0472
Commit
f03a0472
authored
May 26, 2021
by
Markus Scheidgen
Browse files
Merge branch 'optimade-fix' into 'v0.10.4'
Fixed optimade base-url. See merge request
!342
parents
a6890464
86c02956
Pipeline
#102221
passed with stages
in 23 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nomad/app/optimade/__init__.py
View file @
f03a0472
...
...
@@ -13,6 +13,7 @@ sys.modules['optimade.server.logger'] = importlib.import_module('nomad.app.optim
from
nomad
import
config
,
utils
# nopep8
from
optimade.server.config
import
CONFIG
# nopep8
CONFIG
.
root_path
=
'%s/optimade'
%
config
.
services
.
api_base_path
CONFIG
.
base_url
=
config
.
api_url
(
api
=
'optimade'
)
from
optimade.server
import
main
as
optimade
# nopep8
from
optimade.server.routers
import
structures
# nopep8
...
...
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