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

openbraininstitute / neurodamus / 14749248271
90%

Build:
DEFAULT BRANCH: main
Ran 30 Apr 2025 07:35AM UTC
Jobs 2
Files 48
Run time 4min
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

30 Apr 2025 07:34AM UTC coverage: 78.659% (+0.06%) from 78.603%
14749248271

push

github

web-flow
Replace base_circuit and extra_circuits with sonata_circuits (#205)

## Context
In Neurodamus code base, for the legacy BlueConfig config file,
`base_circuit` was used for the circuit defined in the `Run` section and
`extra_circuits` was used for the extra `Circuit` section if existing.
After migrating to the SONATA config file, only `extra_circuits` was
used for SONATA circuits to be distinguished from the legacy BlueConfig.
Now that we only support SONATA config files, there is no need to have
such separation. This PR merges them to a single object
`sonata_circuits`.

## Scope

- In configuration.py, `SimConfig` class: replace `base_circuit` and
`extra_circuits` with `sonata_circuits`.
- In Node.py, `Node` class: replace `_base_circuit` and
`_extra_circuits` with ` _sonata_circuits`
- In Node.py: remove the creation of `base_cell_manager` based on the
empty `base_circuit` by default, i.e. node_pop=None. The
`base_cell_manager` is needed to hold fake cells in Coreneuron run when
we have empty ranks. So only create such dummy cell_manager when the
fake cells are needed.
- Remove `CircuitPath` in the `CircuitConfig` class.
- Load circuit edges for loadbalance computation

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

---------

Co-authored-by: Alessandro Cattabiani <cattabiani@users.noreply.github.com>

7 of 56 new or added lines in 5 files covered. (12.5%)

6 existing lines in 2 files now uncovered.

7003 of 8903 relevant lines covered (78.66%)

1.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
23.63
0.0% neurodamus/cell_distributor.py
1
22.73
-0.06% neurodamus/target_manager.py
8
30.3
-0.1% neurodamus/core/configuration.py
15
15.07
0.01% neurodamus/node.py
24
20.58
0.08% neurodamus/io/sonata_config.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
20.58
0.08% neurodamus/io/sonata_config.py
5
15.07
0.01% neurodamus/node.py
Subprojects
ID Flag name Job ID Ran Files Coverage
1 baseline 14749248271.1 30 Apr 2025 07:35AM UTC 48
24.71
GitHub Action Run
2 unit 14749248271.2 30 Apr 2025 07:37AM UTC 48
78.64
GitHub Action Run
Source Files on build 14749248271
  • Tree
  • List 48
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14749248271
  • 7839dec6 on github
  • Prev Build on main (#14727753434)
  • Next Build on main (#14771565387)
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