Skip to content

Commit 3c05f67

Browse files
committed
All version info in one place...
1 parent 195de71 commit 3c05f67

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

osb/Dockerfile

+13-6
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,30 @@ RUN apt-get install -y python3-setuptools unzip
2020

2121
RUN /bin/bash -c "source ~/env/neurosci/bin/activate"
2222

23+
#### Set versions
24+
25+
# This will set the versions of simulators installed with 'omv install ...'
26+
ENV OMV_VER=v0.2.11
27+
28+
ENV PYNEUROML_VER=1.1.0
29+
ENV NETPYNE_VER=1.0.5
30+
ENV EDEN_VER=0.2.2
31+
2332

2433
# Install NeuroML Python libraries
2534

26-
RUN $VENV/bin/pip install pyNeuroML==1.0.10 # will set versions of libNeuroML, pylems, NeuroMLlite...
35+
RUN $VENV/bin/pip install pyNeuroML==$PYNEUROML_VER # will set versions of libNeuroML, pylems, NeuroMLlite...
2736

2837

2938
# Install OMV
3039

31-
RUN $VENV/bin/pip install git+https://github.com/OpenSourceBrain/osb-model-validation
40+
RUN $VENV/bin/pip install git+https://github.com/OpenSourceBrain/osb-model-validation@v0.2.11
3241
RUN sed -i -e s/'\/usr\/bin\/python'/'\/home\/docker\/env\/neurosci\/bin\/python'/g $VENV/bin/omv
3342

3443

3544
# Install jNeuroML, PyLEMS & NeuroML2
3645

37-
RUN $VENV/bin/omv install jNeuroML
46+
RUN $VENV/bin/omv install jNeuroML
3847
ENV JNML_HOME=$HOME/jnml/jNeuroMLJar
3948

4049
RUN $VENV/bin/omv install jLEMS
@@ -59,8 +68,7 @@ ENV NEST_INSTALL_DIR=$HOME/env/neurosci
5968
# Install NetPyNE
6069

6170
RUN apt-get remove -y python3-cycler python3-matplotlib python3-dateutil
62-
#RUN $VENV/bin/pip install pandas==0.23.4 python-dateutil==2.5.0
63-
RUN $VENV/bin/pip install git+https://github.com/suny-downstate-medical-center/netpyne@neuroml_updates
71+
RUN $VENV/bin/pip install netpyne==$NETPYNE_VER
6472

6573

6674
######### Disabled for now, issues compiling on bionic....
@@ -93,7 +101,6 @@ RUN omv install arbor
93101

94102
# Install EDEN
95103

96-
ENV EDEN_VER=0.2.1
97104
RUN $VENV/bin/pip install eden-simulator==$EDEN_VER
98105

99106

simulation/Dockerfile

+1-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ RUN ln -s /usr/bin/2to3-3.5 $VENV/bin/2to3
1212

1313
ENV NEST_VER=3.3
1414
ENV NRN_VER=8.1.0
15-
# Note: see below re Brian2 support...
1615
ENV BRIAN2_VER=2.5.1
1716
ENV PYNN_VER=0.10.1
1817

@@ -54,9 +53,7 @@ RUN $VENV/bin/pip install neuron==$NRN_VER
5453

5554
#### Install Brian2
5655

57-
# Note 1: Brian 1.4.1 not Python 3 compatible
58-
# Note 2: For latest status on Brian 2 support in PyNN see: https://github.com/NeuralEnsemble/PyNN/pull/654
59-
56+
# Note: Brian 1.4.1 not Python 3 compatible
6057
RUN $VENV/bin/pip install brian2==$BRIAN2_VER
6158

6259

0 commit comments

Comments
 (0)