Skip to content

Commit 74bbd93

Browse files
Merge pull request #659 from MetaCell/feature/653
Feature/653
2 parents ec7d6c9 + a3eabad commit 74bbd93

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ RUN chown $NB_UID .
5252
RUN chown -R $NB_UID workspace
5353

5454
# Temp fixes for eeg plots
55-
RUN wget -P `pip show LFPykit | grep "Location:" | awk '{print $2"/lfpykit"}'` https://www.parralab.org/nyhead/sa_nyhead.mat
55+
# For lfpykit 0.4
56+
# RUN wget -P $(pip show LFPykit | grep "Location:" | awk '{print $2"/lfpykit"}') https://www.parralab.org/nyhead/sa_nyhead.mat
57+
# For lpfykit 0.5
58+
RUN wget --no-check-certificate -P ${FOLDER}/workspace https://www.parralab.org/nyhead/sa_nyhead.mat
5659

5760
USER $NB_UID
5861

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jupyterlab==3.2.4
3232
jupyterthemes==0.20.0
3333
kiwisolver==1.2.0
3434
lesscpy==0.14.0
35+
lfpykit==0.5
3536
libNeuroML==0.2.50
3637
lxml==4.5.1
3738
Mako==1.1.0

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)