Skip to content

Commit

Permalink
Merge pull request #728 from OpenSourceBrain/feature/jlab_req_updates
Browse files Browse the repository at this point in the history
JupyterLab docker improvements
  • Loading branch information
filippomc authored Apr 19, 2023
2 parents 3919963 + c608622 commit 5ece70a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 7 additions & 1 deletion applications/jupyterlab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ RUN jupyter labextension install plotlywidget
USER root

### Some aliases
RUN echo -e '\n\nalias cd..="cd .." \nalias h=history \nalias ll="ls -alt" \nalias jnml="java -classpath /opt/conda/lib/python3.9/site-packages/pyneuroml/lib/jNeuroML-*-jar-with-dependencies.jar org.neuroml.JNeuroML"\n' >> ~/.bashrc
RUN echo -e '\n\nalias cd..="cd .." \nalias h=history \nalias ll="ls -alt" \n' >> ~/.bashrc

### Set up jnml, reusing pynml jar
RUN echo -e '#!/bin/bash\n#Reusing the jNeuroML jar from the pip installed pyNeuroML for the jnml command\n\njava -classpath /opt/conda/lib/python3.9/site-packages/pyneuroml/lib/jNeuroML-*-jar-with-dependencies.jar org.neuroml.JNeuroML $@' >> /opt/conda/bin/jnml
RUN chmod +x /opt/conda/bin/jnml
ENV JNML_HOME=/opt/conda/bin

RUN cat ~/.bashrc


Expand Down
7 changes: 1 addition & 6 deletions applications/jupyterlab/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,7 @@ seaborn
torch==1.11.0+cpu

# For MDF
git+https://github.com/SheffieldML/GPy.git@devel
dask==2.30.0
distributed==2.30.1
protobuf==3.17.0
git+https://github.com/SheffieldML/GPy.git@devel
#modeci_mdf==0.3.3 # big jump in size of image...
modeci_mdf==0.4.5 # big jump in size of image...

scikit-learn # Required for some Neuromatch Academy material
fasttext # Required for some Neuromatch Academy material
Expand Down

0 comments on commit 5ece70a

Please sign in to comment.