LEMS / LEMS/jLEMS

Changing parameters when an existing comp is used in a ComponentReference

Open
#32 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

e.g. ionChannel in channelDensity

<HHCell id="hhcellScale2" capacitance="1pF" injection="4pA" v0="-60mV">
    <ChannelPopulation channel="na" number="6000"  erev="50mV" />
    <ChannelPopulation channel="kscale" number="1800" erev="-77mV" >
        <set component="kscale" scale="0.5"/>
    </ChannelPopulation>
</HHCell>

See example in development here: https://github.com/LEMS/jLEMS/blob/nml2beta3/src/test/resources/example-channelshift.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 with src/test/resources/example-channelshift.xml and trace how the ionChannel or kscale ComponentReference is processed. Determine the expected behavior when a referenced component's parameters are changed, then add a focused test showing the parameter override and its expected result.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.