-
Notifications
You must be signed in to change notification settings - Fork 15
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
allow user to use custom function for simulation callback #211
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #211 +/- ##
==========================================
- Coverage 91.24% 91.22% -0.02%
==========================================
Files 95 95
Lines 5708 5721 +13
==========================================
+ Hits 5208 5219 +11
- Misses 500 502 +2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AurelienJaquier thanks for the PR, I left a comment regarding cvode
neuron.h.cvode.event( | ||
neuron.h.t + self.progress_dt, self.progress_callback) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if the cvode is disabled
for synaptome simulation,
we have to disable the cvode
, so i don't know if the event will be triggered hence the progress_callback will work ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested with cvode disabled, and the callback function is still called.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okey thanks
No description provided.