Update Arbor backend to work with Arbor 0.10.0#841
Closed
apdavison wants to merge 1 commit into
Closed
Conversation
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.
Member
Author
|
replaced by #842, which supports versions 0.10.0 to 0.12.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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)