Skip to content

Commit cd36a68

Browse files
authored
Merge pull request #53 from MetaCell/parentSectionTopology
adding method to get available Sections
2 parents 79bb93f + bdace7f commit cd36a68

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

netpyne_ui/netpyne_geppetto.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,13 @@ def getAvailableCellTypes(self):
350350
if ct not in cellTypes:
351351
cellTypes.add(ct)
352352
return cellTypes
353-
353+
354+
def getAvailableSections(self):
355+
sections = {}
356+
for cellRule in netParams.cellParams:
357+
sections[cellRule] = netParams.cellParams[cellRule]['secs'].keys()
358+
return sections
359+
354360
def getAvailableStimSources(self):
355361
return netParams.stimSourceParams.keys()
356362

0 commit comments

Comments
 (0)