@@ -65,7 +65,7 @@ RUN sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
65
65
RUN pip3 install neuron==8.0.1
66
66
67
67
# ###############################################################################
68
- # ####### Install pyNeuroML for handling NeuroML network model
68
+ # ####### Install c302 for building neuronal network models
69
69
70
70
# Pin version of pymongo required for py3.6... TODO remove...
71
71
RUN sudo pip install pymongo==4.1.1
@@ -75,28 +75,16 @@ RUN git clone https://github.com/NeuroML/pyNeuroML.git && \
75
75
git checkout master && \
76
76
sudo python3 setup.py install
77
77
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 .
84
82
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
91
84
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'
92
87
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
100
88
101
89
102
90
# ###############################################################################
0 commit comments