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

openbraininstitute / neurodamus / 25495620626 / 4 – unit-mpi
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 07 May 2026 12:35PM UTC
Files 50
Run time 3s
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: 62.058% (-0.04%) from 62.1%
unit-mpi – 25495620626.4

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`

5332 of 8592 relevant lines covered (62.06%)

0.62 hits per line

Source Files on job unit-mpi - 25495620626.4
  • Tree
  • List 50
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25495620626
  • ed81de8d on github
  • Prev Job for on main (#24998768517.3)
  • Next Job for on main (#25719795245.4)
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