Skip to content
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

Create a pointer from Prop to Node. #2768

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Create a pointer from Prop to Node. #2768

wants to merge 2 commits into from

Conversation

1uc
Copy link
Collaborator

@1uc 1uc commented Mar 4, 2024

When generating code to call processes from HOC or Python one difficulty can be obtaining the voltage. The voltage is associated with the Node. In the generated code we only have access to the Prop.

We don't have access to the voltage via Memb_list::nodeindices. When generating code for NRN with NMODL, we don't populate what CoreNEURON calls v_unused.

When generating code to call processes from HOC or Python one difficulty
can be obtaining the voltage. The voltage is associated with the Node.
In the generated code we only have access to the Prop.

We don't have access to the voltage via `Memb_list::nodeindices`. When
generating code for NRN with NMODL, we don't populate what CoreNEURON
calls `v_unused`.
@1uc
Copy link
Collaborator Author

1uc commented Mar 4, 2024

@nrnhines I believe we've discussed this issue in a different context. Would something like this make sense?

Copy link

✔️ 09b49db -> Azure artifacts URL

@bbpbuildbot

This comment has been minimized.

@1uc 1uc closed this Mar 5, 2024
@1uc 1uc reopened this Mar 5, 2024
Copy link

sonarcloud bot commented Mar 5, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@nrnhines
Copy link
Member

nrnhines commented Mar 5, 2024

@nrnhines I believe we've discussed this issue in a different context. Would something like this make sense?

I've also experienced this issue and am much in favor of this fix.

Copy link

✔️ 09b49db -> Azure artifacts URL

@1uc
Copy link
Collaborator Author

1uc commented Mar 5, 2024

Thank you! If nobody else needs it right away, I'd propose I first implement the code in NMODL that needs this. Then when that's ready for merging we also merge this first.

Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.91%. Comparing base (2a68176) to head (09b49db).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2768      +/-   ##
==========================================
- Coverage   66.92%   66.91%   -0.01%     
==========================================
  Files         560      560              
  Lines      104093   104086       -7     
==========================================
- Hits        69666    69654      -12     
- Misses      34427    34432       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants