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

openbraininstitute / neurodamus / 26640253248
91%

Build:
DEFAULT BRANCH: main
Ran 29 May 2026 01:40PM 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

29 May 2026 01:32PM UTC coverage: 91.227% (+0.1%) from 91.131%
26640253248

push

github

web-flow
Combine multiple extracellular electric field stimulus blocks (#532)

## Context
Part 2 for
https://github.com/openbraininstitute/prod-circuit-simulation/issues/172,
combine multiple SpatiallyUniformEField stimulus blocks amd add electric
fields into the EFieldIntegrator mechanism.

## Scope
1. In `stimuli.py`, each cell has an object `ElectrodeSource` which
contains a list of EFields which are parsed per SpatiallyUniformEField
stimulus.
2. In case of mulitple SpatiallyUniformEField stimulus blocks, for every
overlapping cell, its `ElectrodeSource` 's efields list is extended with
the efields from the new block thanks to the singleton design pattern.
3. After looping over the stimulus blocks, call each cell's
`ElectrodeSource.apply_segment_potentialsply` that creates a
`EFieldIntegrator` mod object with the list of EFields
4. Refactor `efield_integrator.mod` to take a list of e-fields, and loop
over the e-fields during `BEFORE BREAKPOINT` process.

## Testing
1. Include `tests/unit/test_multiple_extracellular_stimuli.py`
2. Refactor and compute references for tests regarding extracellular
stimulus, fixes #523

---------

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

35 of 35 new or added lines in 3 files covered. (100.0%)

7789 of 8538 relevant lines covered (91.23%)

2.85 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 unit-allen-v1 26640253248.1 29 May 2026 01:41PM UTC 50
53.33
GitHub Action Run
2 unit-mpi 26640253248.2 29 May 2026 01:40PM UTC 50
62.24
GitHub Action Run
3 unit 26640253248.3 29 May 2026 01:40PM UTC 50
88.5
GitHub Action Run
4 unit-ngv-mpi 26640253248.4 29 May 2026 01:40PM UTC 50
54.68
GitHub Action Run
5 baseline 26640253248.5 29 May 2026 01:40PM UTC 50
26.61
GitHub Action Run
Source Files on build 26640253248
  • Tree
  • List 50
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26640253248
  • 1c1b615a on github
  • Prev Build on main (#26444860913)
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