LEMS / LEMS/jLEMS

Allow ConditionalDerivedVariables to be used in DerivedVariable expressions

Open
#68 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11
Forks
11
Avg merge
8h 6m
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with NeuroML2/IzhikevichFerguson.xml from the linked example, uncommenting the DerivedVariable iMemb line. Trace how jLEMS evaluates ConditionalDerivedVariable and DerivedVariable expressions, then verify that variables defined conditionally can be referenced by derived expressions without breaking existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.