Open JustasB opened 7 years ago
One solution to this would be to rewrite the template for generating the voltage clamped runs using the new voltageClampTriple (see here) rather than the custom cell type (vClampedCell) which is a voltage clampable cell. This custom cell isn't easily mappable to Neuron, but runs in jLems.
The channel to be investigated could be put on a standard cell, with a channelDensity for the channel, and the cell clamped to the appropriate voltage. This should run fine in Neuron too. What would probably have to happen is a variation of the voltageClampTriple ComponentType should be created to make a ramping clamped cell...
Ok, I'll give the voltageClampTriple a try and let you know how it goes.
Great, thanks.
The using the voltageClampTripple does work in NEURON, but I don't know how to express the g&i variables in LEMS so that they show up in plots in NEURON.
Related to this issue: https://github.com/NeuroML/jNeuroML/issues/50
The example LEMS file for converted Channelpedia channels works with jnml LEMS, but not with NEURON.
$ jnml LEMS_Test_Cav2.1.xml
--> OK$ jnml LEMS_Test_Cav2.1.xml -neuron -run
--> ERRORSThe problem seems to be related to NEURON's WATCH statement only allowing a single condition check, whereas the vClampedCell component defined in the LEMS file specifies multiple conditions.
The full output is pasted below: