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

Fixed bug where treeChange update to ERev always uses T=37 #7

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

tomjhou
Copy link
Contributor

@tomjhou tomjhou commented Feb 13, 2025

I noticed that whereas the initial Erev calculation uses the parameter temperature, subsequent updates always default to 37 deg C. I tweaked the IonConcentrations class so it now remembers temperature settings, and uses that when concentrations are updated and Nernst potential is recalculated.

Also, Ion checkbox is now on by default, so will always use calculated Erev. In future, might remove the checkbox altogether, as we probably want this behavior all the time.

IonConcentrations class can now remember temperature setting, so that when concentrations are updated it no longer defaults to 37 deg C.
…ed. Removed "Ions" checkbox, so always uses calculated Erev.
@tomjhou
Copy link
Contributor Author

tomjhou commented Feb 24, 2025

In addition to the Erev updates, a few more updates: Removing an ion channel now removes plots associated with that channel (previously would leave behind "zombie" plots that were visible but didn't get updated). Added field to report membrane voltage at current cursor position.

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.

1 participant