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

openbraininstitute / neurodamus / 13305127832
90%

Build:
DEFAULT BRANCH: main
Ran 13 Feb 2025 10:03AM UTC
Jobs 3
Files 48
Run time 613min
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

13 Feb 2025 10:02AM UTC coverage: 55.54% (+12.1%) from 43.412%
13305127832

push

github

web-flow
Add a SONATA circuit for the ringtest (#49)

## Context
As per discussion in
https://github.com/openbraininstitute/neurodamus/issues/11, this PR adds
the ringtest circuit which creates 2 rings of simple `BallStick` cells.
```
Nodes:
- RingA: 3 cells, 2 sections/cell, 2 segments/section
- RingB: 2 cells, 2 sections/cell, 2 segments/section
Edges:
- RingA: 0 -> 1 -> 2 ->0
- RingB: 0 -> 1 -> 0
- RingA: 0 -> RingB: 0
```
## Scope

1. In the test folder: adds a SONATA version of the ring test circuit
including 2 nodes files + 3 edges files, the relevant SONATA config
files, reference cell dump output json files.
2. In neurodamus/utils, a new function `dump_cellstate` to dump
cell/section/segments/netcons/synapse attributes from the NEURON context

## Testing
1. `test/integration/test_ringcells.py` can be run with `tox -e
integration`
     `test_dump_RingB_2cells`: dump 1 population with 2 cells
     `test_dump_RingA_RingB`: dump 2 populations 

## Review
* [x] PR description is complete
* [x] Coding style (imports, function length, New functions, classes or
files) are good
* [x] Unit/Scientific test added
* [ ] Updated Readme, in-code, developer documentation

70 of 71 new or added lines in 1 file covered. (98.59%)

1 existing line in 1 file now uncovered.

5043 of 9080 relevant lines covered (55.54%)

1.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.59
neurodamus/utils/dump_cellstate.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
74.4
1.19% neurodamus/core/_neuron.py
Subprojects
ID Flag name Job ID Ran Files Coverage
1 baseline 13305127832.1 13 Feb 2025 10:03AM UTC 48
24.24
GitHub Action Run
2 unit 13305127832.2 13 Feb 2025 10:03AM UTC 48
31.61
GitHub Action Run
3 integration 13305127832.3 13 Feb 2025 10:03AM UTC 48
50.48
GitHub Action Run
Source Files on build 13305127832
  • Tree
  • List 48
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13305127832
  • d0e00a90 on github
  • Prev Build on main (#13303454009)
  • Next Build on main (#13308434244)
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