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

openbraininstitute / neurodamus / 14727753434 / 1 – baseline
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 29 Apr 2025 09:19AM UTC
Files 48
Run time 1s
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

29 Apr 2025 09:18AM UTC coverage: 24.712% (-0.02%) from 24.728%
baseline – 14727753434.1

push

github

web-flow
improved `dump-cell-state` (for neuron only, old behavior for coreneuron) (#218)

## Context
Now that I have a nice base with the save/restore tests I can proceed to
improve/test `dump-cell-state`. Currenty `--dump-cell-state=<gid>`
accepts only 1 gid at a time. If neuron is used, there an undocumented
way to dump more than 1 gid at once: you need a file called
`debug_gids.txt` (the name is hardcoded) in the base simulation folder.
In that case neurodamus reads the gids from that file and dumps
everything. This is done by `dump_circuit_config`.

This can be largely improved (at least for neuron)

Fix: #220

## Scope

In this PR I want to be able to write:
`--dump-cell-state=0,1,2,3-9,8,7,10-13` and dump these gids with neuron.
Unfortunately, this functionality cannot be put in place for coreneuron
as it requires either:

- changing coreneuron
- having a functioning parallel context, not always true when using
coreNeuron

In case coreNeuron is used, we rever to the old behavior and use only
the first gid (emitting a warning).

- [x] update `--help`
- [x] rename a few variables to have them more consistent 

## Testing
- [x] add unit tests

2207 of 8931 relevant lines covered (24.71%)

0.25 hits per line

Source Files on job baseline - 14727753434.1
  • Tree
  • List 48
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14727753434
  • f2d22559 on github
  • Prev Job for on main (#14709278093.1)
  • Next Job for on main (#14749248271.1)
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