LINEAR NONLINEAR LAG nmodl examples#2037
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2037 +/- ##
==========================================
+ Coverage 48.96% 49.24% +0.28%
==========================================
Files 520 520
Lines 115736 115736
==========================================
+ Hits 56667 56994 +327
+ Misses 59069 58742 -327
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
✔️ e27da32 -> Azure artifacts URL |
|
✔️ dd10bda -> Azure artifacts URL |
|
✔️ 4c83468 -> Azure artifacts URL |
|
✔️ ce25ac7 -> Azure artifacts URL |
|
✔️ 064ab21 -> Azure artifacts URL |
|
✔️ 1e7f326 -> Azure artifacts URL |
|
✔️ 9602b9b -> Azure artifacts URL |
|
Maybe we can add example for a constant function table, and one with only 1 arg, and 2 runtime hoc vectors? |
I'll do that. |
|
Logfiles from GitLab pipeline #82951 (:white_check_mark:) have been uploaded here! Status and direct links: |
|
Logfiles from GitLab pipeline #82962 (:white_check_mark:) have been uploaded here! Status and direct links: |
|
✔️ 4a66d11 -> Azure artifacts URL |
|
Logfiles from GitLab pipeline #83385 (:no_entry:) have been uploaded here! Status and direct links: |
|
✔️ a442c95 -> Azure artifacts URL |
|
Logfiles from GitLab pipeline #83588 (:no_entry:) have been uploaded here! Status and direct links: |
|
✔️ 9bfd8b0 -> Azure artifacts URL |
|
Logfiles from GitLab pipeline #84315 (:white_check_mark:) have been uploaded here! Status and direct links: |
|
✔️ 9a4f017 -> Azure artifacts URL |
iomaganaris
left a comment
There was a problem hiding this comment.
LGTM
Greatly appreciated PR with lots of examples and tests related to these NMODL features
I just have one suggestion. Maybe the expsynspine.ses could be turned into a python script so it's easier to convert it to a proper test tested using pytest?
I can do that in the sense of replacing the last line in expysynspine.py with but I'm not sure that's what you mean. I.e is it beneficial to avoid extra files read by a test executed by pytest? |
I agree with what you said and I came across that before. What I meant was instead of the |
Ok. I don't think the ses file hurts in this case as it gives a visual indication of how things look. It will be no problem for |
Yes, I agree.
I had the same impretion however I see that every python file in this directory gets tested when we run |
Correct, but they are not run with pytest. Each one is executed as |
LINEAR example is somewhat useful in that it implements a spine resistance between synapse and dendrite, but no spine capacitance. NONLINEAR and LAG examples don't have any realistic value but do illustrate the syntax.