From 5885816cd680a21d2f08e64d27445f70239467c1 Mon Sep 17 00:00:00 2001 From: Dan Allan Date: Thu, 14 Sep 2023 17:46:01 -0400 Subject: [PATCH] Replace python3 kernel. --- binder/postBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binder/postBuild b/binder/postBuild index 2988603..ffec46b 100755 --- a/binder/postBuild +++ b/binder/postBuild @@ -3,5 +3,5 @@ # Replace the default Python 3 kernel, which would use the Jupyter server # environment, with one that points into /nsls2/conda/ which is expected # to be mounted in when the container is run. -mv /srv/conda/envs/notebook/share/jupyter/kernels/python3 /srv/conda/envs/notebook/share/jupyter/kernels/external_python3 -mv ./binder/kernel.json /srv/conda/envs/notebook/share/jupyter/kernels/external_python3/kernel.json +cp ./binder/kernel.json /srv/conda/envs/notebook/share/jupyter/kernels/python3/kernel.json +jupyter kernelspec remove python3