Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
cf0cdec
merge with improvement to test
Jun 22, 2018
1c21b4a
solve conflict
Jun 22, 2018
a148523
load cell template fix
Jun 22, 2018
28617b6
fix merging confloct
Jun 22, 2018
3025979
keep conds after importing template
Jun 23, 2018
c060b12
polish LFP plotting
Jun 30, 2018
0593af7
feature/input_function_string
Jul 2, 2018
0df20cf
remove unused docker code
adrianq Jul 2, 2018
89244de
Merge branch 'development' into facu_import_template
adrianq Jul 3, 2018
911f963
Merge pull request #43 from MetaCell/fix/remove-unused-docker-code
tarelli Jul 3, 2018
c01f945
Merge branch 'development' into polish_LFP_plots
adrianq Jul 3, 2018
723388c
revert folder change on exception
adrianq Jul 3, 2018
525b5bb
Merge pull request #35 from MetaCell/facu_import_template
adrianq Jul 3, 2018
6a99f91
Merge branch 'development' into polish_LFP_plots
adrianq Jul 3, 2018
872794a
Merge pull request #40 from MetaCell/polish_LFP_plots
adrianq Jul 3, 2018
b903085
changes to instantitate and simulate code so can plot rxd variables
salvadord Jul 3, 2018
d5ad650
Merge pull request #42 from MetaCell/feature/input_function_string
adrianq Jul 4, 2018
2f4466e
Add files via upload
ddelpiano Jul 4, 2018
e80b0b1
virtualbox images modified with arrow for simplicity
ddelpiano Jul 4, 2018
a95f45b
Updating docker with crxd patched NEURON, proper path and Bokeh, fai…
tarelli Jul 4, 2018
bc46259
Clone NetPyNE workspace
tarelli Jul 4, 2018
6d2cad2
removed sim.analysis.plotData() from instantiate - don't need and can…
salvadord Jul 4, 2018
076da0a
fixed missing sim.simulate(); added import sys; reload(sys) to show o…
salvadord Jul 4, 2018
58daaa2
Use older version of Bokeh compatible with our version of Jupyter Not…
tarelli Jul 4, 2018
773dc78
Use older version of Bokeh compatible with our version of Jupyter Not…
tarelli Jul 5, 2018
aa1d29a
Update README.md
tarelli Jul 5, 2018
0277c27
Merge pull request #47 from MetaCell/ddelpiano-patch-1
tarelli Jul 5, 2018
75607da
Merge pull request #51 from MetaCell/fix/nrndocker
adrianq Jul 5, 2018
1562448
fix error handling
adrianq Jul 5, 2018
a4d3fdf
support diff operation
adrianq Jul 5, 2018
dbf16d8
Merge remote-tracking branch 'origin/salva_changes' into development
tarelli Jul 6, 2018
ae7ae01
Merge pull request #52 from MetaCell/fix/misc
tarelli Jul 6, 2018
3ebc5ea
Merge branch 'development' of https://github.com/MetaCell/NetPyNE-UI …
tarelli Jul 6, 2018
f74fc7e
Test with travis
tarelli Jul 6, 2018
2dd4704
Default branch for travis
tarelli Jul 6, 2018
b35b24f
Message type
tarelli Jul 6, 2018
561237c
Path fix
tarelli Jul 6, 2018
8704af2
Test
tarelli Jul 6, 2018
69f26ad
Test
tarelli Jul 6, 2018
d479644
Close string
tarelli Jul 6, 2018
8c47e91
parent section in topology should be SelectField
Jul 6, 2018
e000520
temporary changes to plot rxd in panel 3
salvadord Jul 6, 2018
430b8ca
Test clone script
tarelli Jul 7, 2018
2e466d4
Don't checkout the branch yet
tarelli Jul 7, 2018
4e87e92
Python
tarelli Jul 7, 2018
bc5bf0e
Fix paths
tarelli Jul 7, 2018
5af5766
Down one level from utilities
tarelli Jul 7, 2018
59bfc3d
Various fixes
tarelli Jul 7, 2018
572955f
Remove conda update
tarelli Jul 7, 2018
9a0c008
convert netpyne.dict to dict in import --- important for CNS
Jul 7, 2018
379c642
Version 0.7.8.1 exists only if coming from pip, something to keep in …
tarelli Jul 8, 2018
bcdd9c8
Simplify code
Jul 9, 2018
3e7bc93
Merge pull request #55 from MetaCell/travis_fix
adrianq Jul 9, 2018
79bb93f
Merge pull request #56 from MetaCell/netpyne_dict
adrianq Jul 9, 2018
e878832
improved rxd concentration plot - more generic, integrated into netpyne
salvadord Jul 9, 2018
bdace7f
replace list for dictionary
Jul 9, 2018
cd36a68
Merge pull request #53 from MetaCell/parentSectionTopology
adrianq Jul 9, 2018
b9c9752
rename rxd plot method
adrianq Jul 9, 2018
bc15b6b
Merge pull request #54 from MetaCell/rxd_changes
adrianq Jul 9, 2018
f775276
fix plotShape returning empty figure
Jul 9, 2018
3461444
fix warning when executing getAvailableCellModels
Jul 9, 2018
bcceb9a
fix typo
Jul 9, 2018
dfafe66
Updating dependencies version
tarelli Jul 10, 2018
6f978ba
Merge pull request #58 from MetaCell/plotShape
adrianq Jul 10, 2018
e7ef15c
Always return a string
tarelli Jul 10, 2018
70e8090
Merge
tarelli Jul 10, 2018
7c706d1
Merge pull request #59 from MetaCell/plotsFix
adrianq Jul 10, 2018
a5a98d5
Additional string conversions
tarelli Jul 10, 2018
6cb5a8d
More plot fixes
tarelli Jul 10, 2018
8027aa0
Tired
tarelli Jul 10, 2018
bd41a2f
updated to Dockerfile_dev to make rxd work
salvadord Jul 11, 2018
b3f12fe
Using the tagged version
tarelli Jul 11, 2018
520ac07
Merge pull request #60 from MetaCell/dockerfile_fix
tarelli Jul 11, 2018
2c87523
Update install script to have new tags as default
tarelli Jul 11, 2018
2dd251c
Update pip docker file
tarelli Jul 11, 2018
8751ac0
New versions in install script
tarelli Jul 11, 2018
f93e736
Travis won't pass on the master branch until we release 0.4.1 of Gepp…
tarelli Jul 11, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ env:
global:
secure: dn0FPQ5IG4M/3kdwnyI78ElQ308Vc3QnKAvkWfwMFb8QxDqxQdnTo7AV1qTMtbLrDNkeEWIgi4nc7jmXNtvGTwOfhAULVh6606Qs5B+ezTdwzajbbFMI8SKQx/pnTojOMu8dx7V4lMoR/YWcojR0VC1IWVC62TGbSB1k5BDGgH0=
install:
- git clone --quiet -b $TRAVIS_BRANCH https://github.com/MetaCell/geppetto-netpyne.git
- git clone --quiet https://github.com/MetaCell/geppetto-netpyne.git
- cd geppetto-netpyne
- if [ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out development ..." && git checkout development; fi
- cd ..
- npm install --silent -g phantomjs
- npm install --silent -g casperjs
- npm install --silent -g slimerjs
Expand Down Expand Up @@ -38,7 +41,7 @@ before_script:
- export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/

script:
- travis_retry docker build -t="netpyne-ui" --build-arg netpyneuiBranch=$TRAVIS_BRANCH .
- travis_retry docker build -t="netpyne-ui" --build-arg netpyneuiBranch=$TRAVIS_BRANCH -f="./Dockerfile_dev" .
- travis_retry docker run -t -dit --name=netpyne-ui_container -h localhost -p 8888:8888 netpyne-ui:latest
- cd $TRAVIS_BUILD_DIR/ && ls
- cd geppetto-netpyne && ls
Expand Down
33 changes: 13 additions & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
FROM jupyter/base-notebook:eb70bcf1a292
USER root

ARG netpyneuiBranch=0.2M3
ENV netpyneuiBranch=${netpyneuiBranch}
RUN echo "$netpyneuiBranch";

RUN apt-get -qq update
RUN apt-get install -y \
locales \
Expand All @@ -13,7 +9,7 @@ RUN apt-get install -y \
g++ \
build-essential \
libncurses-dev \
python \
python2.7 \
libpython-dev \
cython \
libx11-dev \
Expand All @@ -24,47 +20,44 @@ RUN apt-get install -y \
libtool \
libxext-dev \
libncurses-dev \
python3-dev \
python2.7-dev \
xfonts-100dpi \
cython3 \
libopenmpi-dev \
python3-scipy \
python2.7-scipy \
make \
zlib1g-dev \
unzip \
vim \
libpng-dev

# Install latest iv and NEURON
RUN git clone http://github.com/neuronsimulator/iv
RUN git clone http://github.com/neuronsimulator/nrn
WORKDIR iv
RUN ./build.sh
RUN ./configure
RUN make --silent -j4
RUN make --silent install -j4
WORKDIR ../nrn
# Install latest NEURON
RUN git clone --branch 7.6.1crxd https://github.com/adamjhn/nrn.git
WORKDIR nrn
RUN ./build.sh
RUN ./configure --with-nrnpython=python2 --with-paranrn
RUN ./configure --without-x --with-nrnpython=python2 --without-paranrn --prefix="/home/jovyan/work/nrn/" --without-iv
RUN make --silent -j4
RUN make --silent install -j4

# Switch to non sudo, create a Python 2 virtual environment
USER $NB_USER
RUN conda update conda
# Commenting out the conda update things broke!
# RUN conda update conda
RUN conda create --name snakes python=2

# Install NEURON python
WORKDIR src/nrnpython
ENV PATH="/home/jovyan/work/nrn/x86_64/bin:${PATH}"
RUN /bin/bash -c "source activate snakes && python setup.py install"
# Install Bokeh
RUN /bin/bash -c "source activate snakes && conda install bokeh=0.12.7"

ARG INCUBATOR_VER=unknown
RUN /bin/bash -c "INCUBATOR_VER=${INCUBATOR_VER} source activate snakes && pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple netpyne_ui"
RUN /bin/bash -c "source activate snakes && jupyter nbextension enable --py jupyter_geppetto"
RUN /bin/bash -c "source activate snakes && jupyter serverextension enable --py jupyter_geppetto"
RUN /bin/bash -c "source activate snakes && jupyter nbextension enable --py widgetsnbextension"

RUN mkdir /home/jovyan/netpyne_workspace
WORKDIR /home/jovyan
RUN git clone https://github.com/Neurosim-lab/netpyne_workspace
WORKDIR /home/jovyan/netpyne_workspace
CMD /bin/bash -c "source activate snakes && exec jupyter notebook --debug --NotebookApp.default_url=/geppetto --NotebookApp.token=''"
35 changes: 16 additions & 19 deletions Dockerfile_dev
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM jupyter/base-notebook:eb70bcf1a292
USER root

ARG netpyneuiBranch=0.2M3
ENV netpyneuiBranch=${netpyneuiBranch}
ARG netpyneuiBranch=development
ENV netpyneuiBranch=${netpyneuiBranch}
RUN echo "$netpyneuiBranch";

RUN apt-get -qq update
Expand All @@ -13,7 +13,7 @@ RUN apt-get install -y \
g++ \
build-essential \
libncurses-dev \
python \
python2.7 \
libpython-dev \
cython \
libx11-dev \
Expand All @@ -24,48 +24,45 @@ RUN apt-get install -y \
libtool \
libxext-dev \
libncurses-dev \
python3-dev \
python2.7-dev \
xfonts-100dpi \
cython3 \
libopenmpi-dev \
python3-scipy \
python2.7-scipy \
make \
zlib1g-dev \
unzip \
vim \
libpng-dev

# Install latest iv and NEURON
RUN git clone http://github.com/neuronsimulator/iv
RUN git clone http://github.com/neuronsimulator/nrn
WORKDIR iv
RUN git clone --branch 7.6.1crxd https://github.com/adamjhn/nrn.git
WORKDIR nrn
RUN ./build.sh
RUN ./configure
RUN make --silent -j4
RUN make --silent install -j4
WORKDIR ../nrn
RUN ./build.sh
RUN ./configure --with-nrnpython=python2 --with-paranrn
RUN ./configure --without-x --with-nrnpython=python2 --without-paranrn --prefix="/home/jovyan/work/nrn/" --without-iv
RUN make --silent -j4
RUN make --silent install -j4

# Switch to non sudo, create a Python 2 virtual environment
USER $NB_USER
RUN conda update conda
# Commenting out the conda update things broke!
# RUN conda update conda
RUN conda create --name snakes python=2

# Install NEURON python
WORKDIR src/nrnpython
ENV PATH="/home/jovyan/work/nrn/x86_64/bin:${PATH}"
RUN /bin/bash -c "source activate snakes && python setup.py install"
# Install Bokeh
RUN /bin/bash -c "source activate snakes && conda install bokeh=0.12.7"

# Clone NetPyNE-UI and install the development version
WORKDIR ../../../
RUN wget https://github.com/MetaCell/NetPyNE-UI/archive/$netpyneuiBranch.zip
RUN unzip $netpyneuiBranch.zip
WORKDIR NetPyNE-UI-$netpyneuiBranch/utilities
RUN /bin/bash -c "source activate snakes && python --version"
RUN /bin/bash -c "source activate snakes && exec python install.py"
RUN mkdir /home/jovyan/netpyne_workspace
RUN /bin/bash -c "source activate snakes && exec python install.py branch $netpyneuiBranch"
WORKDIR /home/jovyan
RUN git clone https://github.com/Neurosim-lab/netpyne_workspace
WORKDIR /home/jovyan/netpyne_workspace
CMD /bin/bash -c "source activate snakes && exec jupyter notebook --debug --NotebookApp.default_url=/geppetto --NotebookApp.token=''"
CMD /bin/bash -c "source activate snakes && exec jupyter notebook --debug --NotebookApp.default_url=/geppetto --NotebookApp.token=''"
Binary file added docs/controlpanel.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/hyper-v.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/program_features.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading