Support for NEURON {RANDOM ranvar1, ranvar2, ...} statement.#1125
Conversation
|
This comment is obsolete. nrn/netstim.cpp has been removed as the translation of RANDOM variables with nmodl is complete. nrn/netstim.cpp is temporary and has been manually modified from the nmodl generated cpp file. The diff is below and |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
d4efc03 to
c89dcf1
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
- replace possibly_rename() with lambda as it's used in one place - remove extdef_rand.h - move is_random_function from symtab/symbol_properties.hpp to visitor_utils.hpp - add parsing test in test/unit/utils/nmodl_constructs.cpp
This comment has been minimized.
This comment has been minimized.
- fix failing modtoken tests - add units for semantic analysis visitor of RANDOM - simplify the logic for semantic checks - remove unnecessary code
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1125 +/- ##
==========================================
- Coverage 88.18% 88.11% -0.08%
==========================================
Files 175 175
Lines 12411 12520 +109
==========================================
+ Hits 10945 11032 +87
- Misses 1466 1488 +22 ☔ View full report in Codecov by Sentry. |
This comment has been minimized.
This comment has been minimized.
|
Logfiles from GitLab pipeline #191849 (:white_check_mark:) have been uploaded here! Status and direct links: |
pramodk
left a comment
There was a problem hiding this comment.
LGTM - I have made the necessary changes directly.
…tatement (#1125) * Support for new RANDOM construct in NMODL, see neuronsimulator/nrn#2627 * Added necessary changes to the parser, visitors, symbol table and code generation * Added unit tests Co-authored-by: Pramod S Kumbhar <pramod.s.kumbhar@gmail.com>
…tatement (BlueBrain/nmodl#1125) * Support for new RANDOM construct in NMODL, see neuronsimulator/nrnBlueBrain/nmodl#2627 * Added necessary changes to the parser, visitors, symbol table and code generation * Added unit tests Co-authored-by: Pramod S Kumbhar <pramod.s.kumbhar@gmail.com> NMODL Repo SHA: BlueBrain/nmodl@8f7eb99
Accepts the latest netcon.mod from neuronsimulator/nrn#2627. Some changes were picked from #581