You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getPulseGenMethod fails when a pulse occurs beyond the simulation time line (steps < int("+(del_si+dur_si)+"/defaultclock.dt)). The getPulseGenMethod should be adjusted to account for this.
Replace steps - int("+(del_si+dur_si)+"/defaultclock.dt) with max(0, steps - int("+(del_si+dur_si)+"/defaultclock.dt)).
The text was updated successfully, but these errors were encountered:
jonrkarr
changed the title
[BUG]: getPulseGenMethod for Brian 2
[BUG]: getPulseGenMethod for Brian 2 doesn't properly account for the simulation time line
Nov 25, 2021
getPulseGenMethod
fails when a pulse occurs beyond the simulation time line (steps
<int("+(del_si+dur_si)+"/defaultclock.dt)
). ThegetPulseGenMethod
should be adjusted to account for this.org.neuroml.export/src/main/java/org/neuroml/export/brian/BrianWriter.java
Line 435 in ce18e86
Replace
steps - int("+(del_si+dur_si)+"/defaultclock.dt)
withmax(0, steps - int("+(del_si+dur_si)+"/defaultclock.dt))
.The text was updated successfully, but these errors were encountered: