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

Enabling to run run.sim() more than once #368

Merged
merged 4 commits into from
May 20, 2024

Conversation

shixnya
Copy link
Collaborator

@shixnya shixnya commented May 17, 2024

By moving the initialization of the spike writer to 'initialize' function, it enables to run run.sim() more than once.

Without this modification, run.sim() hits the error because the temporary spike file is closed by 'finalize', but not reinitialized.

@shixnya shixnya requested a review from kaeldai May 17, 2024 22:31
Copy link
Collaborator

@kaeldai kaeldai left a comment

Choose a reason for hiding this comment

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

I ran it against a few BioNet and PointNet test examples and they passed. If you have made all the changes you plan on feel free to go ahead and merge it to develop.

@shixnya shixnya merged commit 17d92c0 into AllenInstitute:develop May 20, 2024
5 checks passed
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.

2 participants