• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openbraininstitute / neurodamus / 16417194311
90%

Build:
DEFAULT BRANCH: main
Ran 21 Jul 2025 12:44PM UTC
Jobs 4
Files 44
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jul 2025 12:38PM UTC coverage: 89.857% (-0.3%) from 90.112%
16417194311

push

github

web-flow
compartment sets (#308)

## Context

- fix #307
- https://sonata-extension.readthedocs.io/en/latest/sonata_report.html#fine-grained-compartment-report

In addition to this, while I was touching the reports, I proceeded to:

Simplify reports, enhance and improve compartment and summation reports
to report on many more different variables.

Since I had to do this anyway because:
- compartment and compartment sets share a lot of routines
- it is not clear in the documentation if something is restricted or it
is just a bug. I clarified and expanded the capabilities of the code
wherever it was possible

All of this to give me a clear overview on how to implement the
compartment sets reports in coreneuron

### Additional Fixes

- fix #309
- fix #310

## Scope
- [x] add `compartment_sets_file` to parsed_run. Now it may be necessary
- [x] `section_index` -> `section_id`: homogeneization of names to
dissipate confusion. Libsonata spec talks about `section_id`.
- [x] have proper section_id support to move interchangibly
(section_type, id) <-> section_id. Placed in BaseCell for now
- [x] make `_get_sec` in `ngv` use the new routine in metype and remove
the unnecessary map from IOwrapper
- [x] `section_names` -> `_section_names` in morphIOwrapper
- [x] move the section_index tests in tests for `metype.py` + add test
for `get_sec`
- ~~coreneuron reports~~: moved to #322
- [x] add error for coreneuron reporting (not implemented yet)
- [x] `get_section_id` raises an error if we ask for an id of a section
that is not present (relies on `nSec*`)
- [x] `get_sec`: `section_id` is now assumed to be based on the original
cell (with the axon). Thus, this is the expected
behavior:
   - if we ask for a sec in axon that was removed -> raise error
- if we ask for a sec in axon that is still there (section 0 or 1) ->
return that
- if we ask for a sec "after" the axon (any section type that is not
soma) we compute the offset based on the orignal cell (with the axon)
- [x] do not... (continued)

136 of 168 new or added lines in 11 files covered. (80.95%)

4 existing lines in 3 files now uncovered.

7087 of 7887 relevant lines covered (89.86%)

2.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.76
-0.39% neurodamus/core/nodeset.py
3
91.78
-0.23% neurodamus/node.py
4
84.42
0.91% neurodamus/metype.py
7
83.23
0.46% neurodamus/report.py
17
84.36
-4.0% neurodamus/target_manager.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.23
0.46% neurodamus/report.py
1
90.48
-0.32% neurodamus/utils/memory.py
2
90.89
-0.35% neurodamus/cell_distributor.py
Subprojects
ID Flag name Job ID Ran Files Coverage
1 unit-mpi 16417194311.1 21 Jul 2025 12:44PM UTC 44
60.2
GitHub Action Run
2 unit 16417194311.2 21 Jul 2025 12:44PM UTC 44
86.85
GitHub Action Run
3 unit-ngv-mpi 16417194311.3 21 Jul 2025 12:44PM UTC 44
54.44
GitHub Action Run
4 baseline 16417194311.4 21 Jul 2025 12:44PM UTC 44
24.36
GitHub Action Run
Source Files on build 16417194311
  • Tree
  • List 44
  • Changed 15
  • Source Changed 13
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16417194311
  • 3a00561e on github
  • Prev Build on main (#16410576926)
  • Next Build on main (#16467347146)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc