Skip to content

Commit 44ce696

Browse files
committed
Merge branch 'development' of github.com:MetaCell/NetPyNE-UI into osb2-dev
2 parents 24b918a + 3c85b0d commit 44ce696

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,12 @@ RUN chown $NB_UID .
5454
RUN chown -R $NB_UID workspace
5555

5656
# Temp fixes for eeg plots
57-
RUN wget -P `pip show LFPykit | grep "Location:" | awk '{print $2"/lfpykit"}'` https://www.parralab.org/nyhead/sa_nyhead.mat
5857
ENV NEURON_HOME=/opt/conda
58+
# For lfpykit 0.4
59+
# RUN wget -P $(pip show LFPykit | grep "Location:" | awk '{print $2"/lfpykit"}') https://www.parralab.org/nyhead/sa_nyhead.mat
60+
# For lpfykit 0.5
61+
RUN wget --no-check-certificate -P ${FOLDER}/workspace https://www.parralab.org/nyhead/sa_nyhead.mat
62+
5963
USER $NB_UID
6064

6165
EXPOSE 8888

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jupyterthemes==0.20.0
3434
kiwisolver==1.2.0
3535
lesscpy==0.14.0
3636
libNeuroML==0.4.0
37+
lfpykit==0.5
3738
lxml==4.5.1
3839
Mako==1.1.0
3940
MarkupSafe==1.1.1

webapp/redux/middleware/plotMiddleware.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ const plotFigure = async (plotId, plotMethod, plotType = false, uri = null, them
3535
new Promise((resolve, reject) => {
3636
setTimeout(() => {
3737
resolve(null);
38-
}, 30000);
38+
}, 2 * 60 * 1000); // Timeout set to 2 minutes, previously, 30000 (30s)
3939
})]);
4040

41+
// let response = await Utils.evalPythonMessage(NETPYNE_COMMANDS.plotFigure, [plotMethod, plotType, theme], false)
4142
console.log('Plot response received for', plotId);
4243
if (!response && !uri) { //png plots return null response but they provide a uri so they can be grabbed from the workspace
4344
return null;

0 commit comments

Comments
 (0)