We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcdd9c8 commit bdace7fCopy full SHA for bdace7f
1 file changed
netpyne_ui/netpyne_geppetto.py
@@ -344,10 +344,10 @@ def getAvailableCellTypes(self):
344
return cellTypes
345
346
def getAvailableSections(self):
347
- sections = []
+ sections = {}
348
for cellRule in netParams.cellParams:
349
- sections += netParams.cellParams[cellRule]['secs'].keys()
350
- return list(set(sections))
+ sections[cellRule] = netParams.cellParams[cellRule]['secs'].keys()
+ return sections
351
352
def getAvailableStimSources(self):
353
return netParams.stimSourceParams.keys()
0 commit comments