You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a NEURON model where the segments are connected at non 0 or 1 parent locations, resulting in NML that uses e.g. fractionAlong="0.8" or "0.517...". When I use jnml to convert LEMS file to neuron, it results in the following error:
Cannot yet handle fractionAlong being neither 0 or 1
If I set the fractionAlong to 0 or 1, it introduces small errors in the voltage during simulation.
Is the best workaround for this issue to split the parent segment into two segments along the non-integer fraction of the parent segment's length? If so, I'll include this in the error message text and submit a pull-request.
@JustasB there is a quick fix for this (implemented locally here) if the parent segmentGroup/section has only one segment in it (i.e. use the fraction along the segment as fraction along the segmentGroup). Is this the case for you?
I've just committed a fix for this (with just one segment in the parent segment) on the dveelopment branch. Rebuild jNeuroML from source on the development branches and you should have the fix.
I have a NEURON model where the segments are connected at non 0 or 1 parent locations, resulting in NML that uses e.g. fractionAlong="0.8" or "0.517...". When I use jnml to convert LEMS file to neuron, it results in the following error:
Cannot yet handle fractionAlong being neither 0 or 1
If I set the fractionAlong to 0 or 1, it introduces small errors in the voltage during simulation.
My example NML is:
Is the best workaround for this issue to split the parent segment into two segments along the non-integer fraction of the parent segment's length? If so, I'll include this in the error message text and submit a pull-request.
@pgleeson
The text was updated successfully, but these errors were encountered: