|
Ran
|
Jobs
2
|
Files
48
|
Run time
1min
|
Badge
README BADGES
|
push
github
multicycle coreneuron test (#166) ## Context CoreNeuron has the multicycle functionality. It is already partially tested in e2e. We should add a test in unit too. Check that the results are the same as for the filemode test. The important part of the code may be [here](https://github.com/openbraininstitute/neurodamus/blob/9066f6bef/neurodamus/node.py#L1911) ## Scope - [x] Rename `test_coreneuron` -> `test_coreneuron_filemode` to clarify its purpose - [x] Add new `test_coreneuron_multicycle` test file - [x] Reorganization of the existing e2e multicycle tests. 1 can go in the unit tests for the nodeSets. The others remain in e2e because some mechanisms are not installed for the unit tests. - [x] improve docstrings - [x] limit the max number of multicycle steps to the max number of nodes per population. This is in line to the nodeset distribution algorithm used down the line - [x] add an assert to be sure that when we add a fake gid for avoiding coreneuron complains we are not adding into an existing population - [x] `isFile` -> `is_file` (typo) - [x] split `_instantiate_simulation` in a few functions. Why? SRP Fix: #153, #176 ## Testing This is testing
5 of 29 new or added lines in 2 files covered. (17.24%)
5 existing lines in 2 files now uncovered.6280 of 8997 relevant lines covered (69.8%)
0.94 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
22.79 |
0.16% | neurodamus/target_manager.py |
| 23 |
14.6 |
0.1% | neurodamus/node.py |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
22.79 |
0.16% | neurodamus/target_manager.py |
| 4 |
14.6 |
0.1% | neurodamus/node.py |
| ID | Flag name | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|---|
| 1 | baseline | 14111620907.1 | 48 |
24.47 |
GitHub Action Run | |
| 2 | unit | 14111620907.2 | 48 |
69.41 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|