Commit a66af74d authored by Katharina Höflich's avatar Katharina Höflich

More description updates

parent ee475cb6
......@@ -30,13 +30,15 @@ if [ -n "${1}" ]; then
cat ${ofile} | grep -m1 -e 'token' || echo 'Jupyter Lab not yet properly running... please wait.'
# Sets JupyterLab base directory.
cd ${HOME}
# Will be fetched by above scontrol commands.
echo "host $(hostname)"
# the code below only works for
# conda version above 4.6
eval "$(conda shell.bash hook)" # properly initialise non-interactive shells
# Properly initialize non-interactive Bash shell.
# Works only for conda>=4.6 set up with `${HOME}/miniconda3/bin/conda init bash`
eval "$(conda shell.bash hook)"
# Activate JupyterLab environment
conda activate base && \
# Launch JupyterLab instance
jupyter lab --ip=$(hostname) --no-browser
Markdown is supported
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