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

openbraininstitute / neurodamus / 25495620626
91%

Build:
DEFAULT BRANCH: main
Ran 07 May 2026 12:35PM UTC
Jobs 5
Files 50
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

07 May 2026 12:25PM UTC coverage: 91.283% (+0.005%) from 91.278%
25495620626

push

github

web-flow
adapt to new libsonata (#517)

## Context

The new libsonata brings some new small but useful features like:
- rejects duplicate modification names
- `list_input_names` now preserves order

This allows us to:
- accept a `libsonata.SimulationConfig` object instead of the path of a
file. Useful for last minute patches and dummy simulation_configs. No
more juggling with temp files
- simplification in a couple of places of the logic. Stuff is already
handled by libsonata. Less bookkeping

## Scope

- Use `libsonata.SimulationConfig.list_input_names` directly instead of
re-reading the JSON file to get input order (`_stable_inputs_order`
removed)
- `SonataConfig`, `Node`, and `Neurodamus` now accept a
`libsonata.SimulationConfig` object in addition to a file path
- Removed double config parsing: `Node.__init__` no longer parses the
config separately — `SimConfig.init` handles everything
- Let `libsonata.SonataError` propagate naturally instead of wrapping it
in `ConfigurationError`
- Skip `.SUCCESS` file creation when config is passed as an object (no
file path available)

## Very small improvements/cosmetics:

- Let `libsonata.SonataError` propagate naturally instead of wrapping it
in `ConfigurationError`
- Renamed `config_file` → `config_path_or_obj` with type hints and
docstrings


## Testing

- Dropped `test_configure_all_sections_AugAssign_name_clash` — libsonata
now rejects duplicate modification names
- Updated `test_modification_wrong_target_multiple_types` to expect
`libsonata.SonataError` directly
- Added test: `test_sonata_config_from_simulation_config_object`
- Added test: `test_neurodamus_accepts_simulation_config_object`

29 of 34 new or added lines in 3 files covered. (85.29%)

7843 of 8592 relevant lines covered (91.28%)

2.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
91.71
-0.3% neurodamus/node.py
Subprojects
ID Flag name Job ID Ran Files Coverage
1 unit-allen-v1 25495620626.1 07 May 2026 12:35PM UTC 50
52.91
GitHub Action Run
2 unit-ngv-mpi 25495620626.2 07 May 2026 12:35PM UTC 50
54.26
GitHub Action Run
3 baseline 25495620626.3 07 May 2026 12:35PM UTC 50
26.37
GitHub Action Run
4 unit-mpi 25495620626.4 07 May 2026 12:35PM UTC 50
62.06
GitHub Action Run
5 unit 25495620626.5 07 May 2026 12:35PM UTC 50
88.58
GitHub Action Run
Source Files on build 25495620626
  • Tree
  • List 50
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25495620626
  • ed81de8d on github
  • Prev Build on main (#24998768517)
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

© 2026 Coveralls, Inc