Skip to content
Snippets Groups Projects
Commit 244655b7 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

fix(wf-brainscales2-demos): connection to experiment service

parent 8272c0a3
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
from spack import * from spack import *
import os
class WfBrainscales2Demos(Package): class WfBrainscales2Demos(Package):
...@@ -43,6 +44,11 @@ class WfBrainscales2Demos(Package): ...@@ -43,6 +44,11 @@ class WfBrainscales2Demos(Package):
def installcheck(self): def installcheck(self):
cmd_env = which("env") cmd_env = which("env")
cmd_env() cmd_env()
# enable "EBRAINS lab" mode
os.environ["LAB_IMAGE_NAME"] = "EBRAINS"
# select "EBRAINS experimental" upstream experiment service
os.environ["LAB_KERNEL_NAME"] = "EBRAINS-experimental"
os.environ["JUPYTERHUB_USER"] = "spack-test-wf-brainscales2-demos"
# execute notebook and save # execute notebook and save
jupyter = Executable("jupyter") jupyter = Executable("jupyter")
jupyter("nbconvert", jupyter("nbconvert",
......
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