File tree Expand file tree Collapse file tree
webapp/components/definition/subcellConnectivity Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ export default class NetPyNESubCellsConnectivityRule extends React.Component {
140140 switch ( this . state . type ) {
141141 case '2DMap' :
142142 case '1DMap' :
143+ Utils . execPythonMessage ( `netpyne_geppetto.netParams.defineCellShapes = True` )
143144 return (
144145 < >
145146 < NetPyNEField id = "netParams.subConnParams.density.gridY" className = "listStyle" >
@@ -167,6 +168,7 @@ export default class NetPyNESubCellsConnectivityRule extends React.Component {
167168 </ >
168169 )
169170 case 'distance' :
171+ Utils . execPythonMessage ( `netpyne_geppetto.netParams.defineCellShapes = False` )
170172 return (
171173 < >
172174 < NetPyNEField id = "netParams.subConnParams.density.ref_sec" >
@@ -204,6 +206,8 @@ export default class NetPyNESubCellsConnectivityRule extends React.Component {
204206 </ NetPyNEField >
205207 </ >
206208 )
209+ default :
210+ Utils . execPythonMessage ( `netpyne_geppetto.netParams.defineCellShapes = False` )
207211 }
208212 }
209213
You can’t perform that action at this time.
0 commit comments