Skip to content

Commit 06f5336

Browse files
committed
#103 Adaptation for new jupyter geppetto
1 parent bcc1a28 commit 06f5336

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ComponentsInitialization.js

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ define(function (require) {
5454
GEPPETTO.trigger(GEPPETTO.Events.Show_spinner, "Initialising NetPyNE");
5555

5656
GEPPETTO.on('jupyter_geppetto_extension_ready', (data) => {
57+
let project = { id: 1, name: 'Project', experiments: [{ "id": 1, "name": 'Experiment', "status": 'DESIGN' }] }
58+
GEPPETTO.Manager.loadProject(project, false);
59+
GEPPETTO.Manager.loadExperiment(1, [], []);
5760
Utils.execPythonMessage('from netpyne_ui.netpyne_geppetto import netpyne_geppetto');
5861
Utils.evalPythonMessage('netpyne_geppetto.getData',[]).then((response) => {
5962
var data = Utils.convertToJSON(response)

0 commit comments

Comments
 (0)