Add test for nonspecific current#1235
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1235 +/- ##
=======================================
Coverage 86.67% 86.67%
=======================================
Files 176 176
Lines 13176 13176
=======================================
Hits 11420 11420
Misses 1756 1756 ☔ View full report in Codecov by Sentry. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I would have preferred to not replace the test, but to have both: the existing one to check accuracy of |
This comment has been minimized.
This comment has been minimized.
Since the current workflow is |
81357a0 to
ca86f73
Compare
|
Added new test ( |
This comment has been minimized.
This comment has been minimized.
|
You can have global or range variables in the MOD file: (or similar). And then set from Python: (or some variant thereof.) |
Huh, that's neat, updated! |
This comment has been minimized.
This comment has been minimized.
|
It's now a bit hard to understand how the two tests are very different. One is about checking the accuracy of We check the one my using small time-steps and checking all the value along the way. While, to me, checking stability is about taking a (stupidly) large timestep and checking it doesn't explode. I understand that we can check both by simply cranking The worry is that future maintenance would remove the second |
1uc
left a comment
There was a problem hiding this comment.
Thank you, this is a lot clearer to me.
|
Logfiles from GitLab pipeline #209442 (:white_check_mark:) have been uploaded here! Status and direct links: |
Since NEURON's ODE solver is not extremely accurate in the intermediate region where the jump is present, we only compare the final values (without the fix for the conductances, the result of
vis a bunch ofnans).This requires updating the references again: BlueBrain/nmodl-references#9