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

openbraininstitute / libsonatareport / 19929759365
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH: refs/tags/2.0.0
DEFAULT BRANCH: master
Ran 04 Dec 2025 12:58PM UTC
Jobs 1
Files 18
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

04 Dec 2025 12:17PM UTC coverage: 86.207% (+0.2%) from 86.024%
19929759365

push

github

web-flow
change default `LIBSONATA_ZERO_BASED_GIDS` (#8)

## Context

Neurodamus is 0-based now. We should adapt libsonatareport as well.

Fix: #7

change default to zero-based

## Scope

- remove LIBSONATA_ZERO_BASED_GIDS
- add LIBSONATAREPORT_ONE_BASED_GIDS
- add warnings in `setup_reports()` for legacy env key
- remove python 3.9 from ci since it was dropped by neurodamus

after thinking about having all the tests 0-based, I would not change the integration and conversion tests (that are currently 1-based) for these reasons:

1. more work
2. it is good to have some tests that check the legacy 1-based version of the code
3. I would still support that version, not as default, so that people with an old neurodamus can still run by setting the flag. Performance-wise is the same. A couple of warnings and errors to support both ways are not a big cost imho

## Tests

- fix unit tests
- integration and conversion tests use the old 1-based version

13 of 15 new or added lines in 2 files covered. (86.67%)

800 of 928 relevant lines covered (86.21%)

19.31 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.95
0.96% src/data/sonata_data.cpp
1
98.28
-1.72% src/library/sonatareport.cpp
Jobs
ID Job ID Ran Files Coverage
1 19929759365.1 04 Dec 2025 12:58PM UTC 18
86.21
GitHub Action Run
Source Files on build 19929759365
  • Tree
  • List 18
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ec35f6ca on github
  • Prev Build on refs/tags/1.2.7 (#18489409085)
  • Delete
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