Skip to content

Update Arbor backend to work with Arbor 0.10.0#841

Closed
apdavison wants to merge 1 commit into
NeuralEnsemble:masterfrom
apdavison:update-arbor-0.10.0
Closed

Update Arbor backend to work with Arbor 0.10.0#841
apdavison wants to merge 1 commit into
NeuralEnsemble:masterfrom
apdavison:update-arbor-0.10.0

Conversation

@apdavison

Copy link
Copy Markdown
Member

Arbor 0.10.0 introduced breaking changes to its Python bindings that prevented the backend from importing/running. Update the backend and version pins accordingly:

  • Units at the user interface: physical quantities passed to decor.set_property/set_ion, threshold_detector, iclamp, the spike schedules and simulation.run must now be unit-typed (arbor.units).
  • Morphology loaders now return a bundle; use load_swc_neuron(f).segment_tree instead of the removed raw=True argument.
  • Probes now require a tag string and sampling is addressed by (gid, tag) instead of the removed cell_member index.

Also fixes a latent frequency-unit bug in SpikeSourcePoisson: rate (Hz) was passed into Arbor's kHz frequency slot; it is now tagged with U.Hz, matching PyNN's Hz semantics and the NEURON/NEST backends.

(note that Arbor is currently at version 0.12.2, but 0.10.0 is the version currently in the EBRAINS Software Distribution)

Arbor 0.10.0 introduced breaking changes to its Python bindings that
prevented the backend from importing/running. Update the backend and
version pins accordingly:

- Units at the user interface: physical quantities passed to
  decor.set_property/set_ion, threshold_detector, iclamp, the spike
  schedules and simulation.run must now be unit-typed (arbor.units).
- Morphology loaders now return a bundle; use load_swc_neuron(f).segment_tree
  instead of the removed raw=True argument.
- Probes now require a tag string and sampling is addressed by (gid, tag)
  instead of the removed cell_member index.

Also fixes a latent frequency-unit bug in SpikeSourcePoisson: rate (Hz)
was passed into Arbor's kHz frequency slot; it is now tagged with U.Hz,
matching PyNN's Hz semantics and the NEURON/NEST backends.
@apdavison apdavison added this to the 0.13.1 milestone Jul 7, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 71.072%. first build — apdavison:update-arbor-0.10.0 into NeuralEnsemble:master

@apdavison apdavison closed this Jul 8, 2026
@apdavison apdavison deleted the update-arbor-0.10.0 branch July 8, 2026 08:38
@apdavison

Copy link
Copy Markdown
Member Author

replaced by #842, which supports versions 0.10.0 to 0.12.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants