-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow ConditionalDerivedVariables to be used in DerivedVariable expressions #68
Comments
@robertcannon if you have any insight into why this should be the case it would be great. A DerivedVariable can certainly depend on/use other DerivedVariables, and ConditionalDerivedVariable can probably depend on DerivedVariables, but is there any fundamental reason why a DerivedVariable can't use a variable defined in ConditionalDerivedVariable? |
I don't think there is any fundamental reason and I can't see anything in the jLEMS code that treats them differently either. So I'll have to try that example to see where it is failing. |
Currently variables defined in a ConditionalDerivedVariable expression cannot be used in a DerivedVariable expression.
Example where this fails (uncomment line for DerivedVariable iMemb):
https://github.com/OpenSourceBrain/FergusonEtAl2014-CA1PyrCell/blob/341fef9d14a10e64688838a85b02950b7ea3af1e/NeuroML2/IzhikevichFerguson.xml
The text was updated successfully, but these errors were encountered: