We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e82908 commit d023940Copy full SHA for d023940
1 file changed
netpyne_ui/netpyne_geppetto.py
@@ -943,10 +943,10 @@ def getAvailableCellTypes(self):
943
cell_types.add(p)
944
return sorted(cell_types)
945
946
- def getAvailableRxDSections(self, selectedRegion):
+ def getAvailableRxDSections(self, selectedRegion = None):
947
sections = set([])
948
sections.add('all')
949
- if selectedRegion in self.netParams.rxdParams.regions and self.netParams.rxdParams.regions[selectedRegion].get('cells'):
+ if selectedRegion and selectedRegion in self.netParams.rxdParams.regions and self.netParams.rxdParams.regions[selectedRegion].get('cells'):
950
if 'all' in self.netParams.rxdParams.regions[selectedRegion]['cells']:
951
for cellRule in self.netParams.cellParams:
952
for cellSect in self.netParams.cellParams[cellRule]['secs']:
0 commit comments