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