BlueBrain / nmodl

Code Generation Framework For NEURON MODeling Language
https://bluebrain.github.io/nmodl/
Apache License 2.0
48 stars 15 forks source link

Make `generate_references.py` configurable. #1286

Closed 1uc closed 1 month ago

1uc commented 1 month ago

Adds the ability to customize with which flags nmodl is run to generate the references.

The default is "" (for CoreNEURON) and "--neuron" (for NEURON). These choices can be overridden by adding a file references.json to the usecase directory.

Since the logic is slightly more involved, the Bash script is reimplemented as a Python script.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.24%. Comparing base (341b89e) to head (1db8b67).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1286 +/- ## ======================================= Coverage 86.24% 86.24% ======================================= Files 178 178 Lines 13299 13299 ======================================= Hits 11470 11470 Misses 1829 1829 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

bbpbuildbot commented 1 month ago

Logfiles from GitLab pipeline #213713 (:white_check_mark:) have been uploaded here!

Status and direct links:

1uc commented 1 month ago

Can be seen in use here: https://github.com/BlueBrain/nmodl/pull/1285 Direct link: https://github.com/BlueBrain/nmodl-references/commit/e26d23f160210bd5fc3b4fe68555cb1e2ac72e02