Skip to content
Snippets Groups Projects
Commit 8669975d authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

Update create_JupyterLab_kernel.sh

parent e2fc1b97
No related branches found
No related tags found
No related merge requests found
...@@ -53,12 +53,13 @@ python -m ipykernel_launcher -f \$@ ...@@ -53,12 +53,13 @@ python -m ipykernel_launcher -f \$@
EOF EOF
chmod +x $LAB_KERNEL_PATH/bin/env.sh chmod +x $LAB_KERNEL_PATH/bin/env.sh
# create the new kernel's configuration file # create the new kernel's configuration file
mkdir $LAB_KERNEL_PATH/spack_python_kernel_release_202112 mkdir $LAB_KERNEL_PATH/spack_python_kernel_release_202210
cat <<EOF >$LAB_KERNEL_PATH/spack_python_kernel_release_202112/kernel.json cat <<EOF >$LAB_KERNEL_PATH/spack_python_kernel_release_202210/kernel.json
{ {
"argv": ["$LAB_KERNEL_PATH/bin/env.sh", "{connection_file}", "--profile=default"], "argv": ["$LAB_KERNEL_PATH/bin/env.sh", "{connection_file}", "--profile=default"],
"display_name": "EBRAINS_release_v0.2_202112", "display_name": "EBRAINS-22.10_rc",
"name": "spack_python_kernel_release_202112", "name": "spack_python_kernel_release_202210",
"language": "python" "language": "python",
"env": { "LAB_KERNEL_NAME": "EBRAINS-22.10", "LAB_KERNEL_RELEASE_DATE": "$(date +"%Y-%m-%d")" }
} }
EOF EOF
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