Code in update_derived_variables is incomplete

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the linked NeuroML2/LEMS_NeuronMuscle.xml example and reproduce the pylems-generated update_derived_variables failure. Trace the generated code that accesses Runnable.timeCourse and compare its behavior with jnml. Done means the example runs in pylems without the reported AttributeError, with a regression test covering the case.

Written by the indexing model from the issue text.

Description

This works in jnml, but in pylems it results in AttributeError: 'Runnable' object has no attribute 'timeCourse' in some generated code assigned to the method update_derived_variables.

Dominant language
Python
Stars
12
Forks
18
PR merge metrics
No merged PRs in 30d

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.

More from LEMS/pylems

All issues in LEMS/pylems

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.