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

feat(wf-brainscales2-demos): enable most notebooks

parent e744e05e
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from glob import glob
from spack import *
import os
......@@ -45,15 +46,16 @@ class WfBrainscales2Demos(Package):
cmd_env()
# execute notebook and save
jupyter = Executable("jupyter")
jupyter("nbconvert",
"--ExecutePreprocessor.kernel_name=python3",
"--execute",
"--allow-errors",
"--to",
"notebook",
"ts_05-yin_yang.ipynb",
"--output",
prefix+"/.spack_test_results/ts_05-yin_yang.ipynb")
for fn in glob("ts*.ipynb") + glob("tp*.ipynb"):
jupyter("nbconvert",
"--ExecutePreprocessor.kernel_name=python3",
"--execute",
"--allow-errors",
"--to",
"notebook",
fn,
"--output",
prefix + "/.spack_test_results/" + fn)
def _set_collab_things(self):
# enable "EBRAINS lab" mode
......
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