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

Fix issue 20 #58

Merged
merged 5 commits into from
Jul 29, 2021
Merged

Fix issue 20 #58

merged 5 commits into from
Jul 29, 2021

Conversation

sanjayankur31
Copy link
Contributor

Needs to be merged after #57 has been merged.

Descriptions can include `" ..  "` and when these are read,
they're converted to `" .."` internally. We need to make sure these are
escaped correctly so that when the internal XML string is passed to
parsers (like the minidom parser), it is still valid.
These are needed by the regression test for issue 20.

We could come up with a regression test that does not require these, or
use pyNeuroML to get these on demand, but for the time being I'm
checking these in.
If the startup handlers are run before them, then even though the code
does initialise variables, it does it in the wrong order. For example,
for `v = initMembPot` that is a `StateAssignment` that should happen
`OnStart`, `initMembPot` needs to be processed first so that `v` can
then pick up its value.

Fixes #20
@sanjayankur31 sanjayankur31 self-assigned this Jul 27, 2021
@sanjayankur31 sanjayankur31 linked an issue Jul 27, 2021 that may be closed by this pull request
Copy link
Member

@pgleeson pgleeson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and all looks good

@pgleeson pgleeson merged commit 6fd9d9f into development Jul 29, 2021
@pgleeson pgleeson deleted the fix/issue-20 branch August 20, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Membrane potential not being initialized correctly
2 participants