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

NEST-SONATA: Reset parameters after iteration over populations #2811

Merged
merged 1 commit into from
May 31, 2023

Conversation

nicolossus
Copy link
Member

This PR fixes a bug that occurs when SONATA edge file contains more than one edge population (HDF5 group). After opening an edge file, the edge populations within are iterated over and connected. However, the edge parameters container is reset in the first iteration such that subsequent populations will try to access an empty parameter container. This PR fixes this bug by moving the reset out of the loop iterating the edge populations.

@nicolossus nicolossus added T: Bug Wrong statements in the code or documentation S: High Should be handled next I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels May 30, 2023
@heplesser heplesser merged commit 236e167 into nest:master May 31, 2023
20 checks passed
@nicolossus nicolossus deleted the nestsonata_fix_reset_params branch May 31, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: High Should be handled next T: Bug Wrong statements in the code or documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants