Skip to content

Commit 25d49f8

Browse files
committed
Test with owmeta
1 parent 42065e3 commit 25d49f8

File tree

2 files changed

+9
-21
lines changed

2 files changed

+9
-21
lines changed

Dockerfile

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ RUN sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
6565
RUN pip3 install neuron==8.0.1
6666

6767
################################################################################
68-
######## Install pyNeuroML for handling NeuroML network model
68+
######## Install c302 for building neuronal network models
6969

7070
# Pin version of pymongo required for py3.6... TODO remove...
7171
RUN sudo pip install pymongo==4.1.1
@@ -75,28 +75,16 @@ RUN git clone https://github.com/NeuroML/pyNeuroML.git && \
7575
git checkout master && \
7676
sudo python3 setup.py install
7777

78-
# TODO remove this line after we have better dependency management. The
79-
# current version of gitpython requires python >= 3.7, which is newer than the
80-
# python included in the base image. Therefore, we manually install an older
81-
# gitpython to be used with OpenWormData.
82-
# See https://github.com/openworm/OpenWorm/pull/316
83-
RUN sudo pip install 'gitpython==2.1.15' markupsafe
78+
RUN git clone https://github.com/openworm/c302.git && \
79+
cd c302 && \
80+
git checkout master && \
81+
sudo pip install .
8482

85-
RUN git clone https://github.com/openworm/PyOpenWorm.git && \
86-
cd PyOpenWorm && \
87-
git checkout ow-0.9 && \
88-
sudo apt-get install -y python3-cffi && \
89-
sudo python3 setup.py install && \
90-
pow clone https://github.com/openworm/OpenWormData.git
83+
# Note: owmeta, owmeta-core and pyNeuroML installed with the above library
9184

85+
RUN pip3 install owmeta-core==0.13.5
86+
RUN owm bundle remote --user add ow 'https://raw.githubusercontent.com/openworm/owmeta-bundles/master/index.json'
9287

93-
################################################################################
94-
######## Install c302 for building neuronal network models
95-
96-
RUN git clone https://github.com/openworm/c302.git && \
97-
cd c302 && \
98-
git checkout ow-0.9.1 && \
99-
sudo python3 setup.py install
10088

10189

10290
################################################################################

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.9.3
1+
0.9.3_owm

0 commit comments

Comments
 (0)