Skip to content

Commit 79bb93f

Browse files
authored
Merge pull request #56 from MetaCell/netpyne_dict
convert netpyne.dict to dict in import --- important for CNS
2 parents 3e7bc93 + 9a0c008 commit 79bb93f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

netpyne_ui/netpyne_geppetto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def importCellTemplate(self, modelParameters, modFolder, compileMod):
147147

148148
# convert fron netpyne.specs.dict to dict
149149
rule = modelParameters["label"]
150-
netParams.cellParams[rule]["conds"] = netParams.cellParams[rule]["conds"].todict()
150+
netParams.cellParams[rule] = netParams.cellParams[rule].todict()
151151

152152
return self.getJSONReply()
153153
except:

0 commit comments

Comments
 (0)