Skip to content

Commit a9955da

Browse files
authored
Merge pull request #145 from MetaCell/feature/143
Feature/143
2 parents 5cc3afc + 9622b64 commit a9955da

58 files changed

Lines changed: 1408 additions & 1024 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

netpyne_ui/netpyne_geppetto.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,11 +496,14 @@ def deleteParam(self, model, label):
496496
else:
497497
pass
498498
else:
499-
population = getattr(self.netParams, model).pop(label)
499+
# remove rule
500+
rule = getattr(self.netParams, model).pop(label)
501+
502+
# side effect on other rules
500503
if "popParams" in model:
501504
self.propagate_field_rename("pop", None, label)
502-
self.propagate_field_rename("cellModel", None, population['cellModel'])
503-
self.propagate_field_rename("cellType", None, population['cellType'])
505+
self.propagate_field_rename("cellModel", None, rule['cellModel'])
506+
self.propagate_field_rename("cellType", None, rule['cellType'])
504507

505508
elif "stimSourceParams" in model:
506509

utilities/install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ def main(argv):
8282
clone_repo(project='openworm',
8383
repo_name='pygeppetto',
8484
folder='pygeppetto',
85-
default_branch='development'
85+
default_branch='master'
8686
)
8787
subprocess.call(['python3', '-m', 'pip', 'install', '-e', '.'], cwd='./pygeppetto/')
8888

8989

9090
clone_repo(project='openworm',
9191
repo_name='org.geppetto.frontend.jupyter',
9292
folder='org.geppetto.frontend.jupyter',
93-
default_branch='development'
93+
default_branch='master'
9494
)
9595

9696

webapp/Utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { execPythonMessage, evalPythonMessage } from 'geppetto-client/js/communication/geppettoJupyter/GeppettoJupyterUtils';
1+
import { execPythonMessage, evalPythonMessage } from '@geppettoengine/geppetto-client/js/communication/geppettoJupyter/GeppettoJupyterUtils';
22
import React from 'react';
33

44
const Utils = {

webapp/components/definition/cellRules/NetPyNECellRule.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export default class NetPyNECellRule extends React.Component {
101101
label="The name of the cell rule"
102102
className={"netpyneField"}
103103
id={"cellRuleName"}
104+
style={{ marginTop: 8 }}
104105
/>
105106

106107
<div style={{ float: 'left', marginTop: '20px' }}>

0 commit comments

Comments
 (0)