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

openbraininstitute / neurodamus / 26757709627 / 2 – unit-allen-v1
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2026 01:33PM UTC
Files 50
Run time 2s
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

01 Jun 2026 01:24PM UTC coverage: 53.346%. Remained the same
unit-allen-v1 – 26757709627.2

push

github

web-flow
Avoid shared reference in ElectrodeSource.efields to fix mulitple elecric fields stimulus on mulitple cells (#537)

## Context
Fixes #538 
The current `ElectrodeSource.efields` for each cell is instantiated with
a shared reference. At the time of `__iadd__`, `ElectrodeSource.efields`
gets extended with the e-fields from the 2nd spatially_uniform_e_field
input. If it is shared reference, `ElectrodeSource.efields` of cell A
gets extended at the time of `__iadd__` for cell B, cell C ... etc.
That's wrong.
This PR makes `ElectrodeSource.efields` to hold an independent copy.


## Testing
1: `tests/unit/test_multiple_extracellular_stimuli.py`: change the input
target to the same muiltiple cells that could reveal the issue without the fix.

4552 of 8533 relevant lines covered (53.35%)

0.53 hits per line

Source Files on job unit-allen-v1 - 26757709627.2
  • Tree
  • List 50
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26757709627
  • cd4c9c71 on github
  • Prev Job for on main (#26745527384.5)
  • Next Job for on main (#26809518579.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