Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing U with with_address=False throws error #505

Closed
anandtrex opened this issue Jul 17, 2017 · 0 comments
Closed

Accessing U with with_address=False throws error #505

anandtrex opened this issue Jul 17, 2017 · 0 comments
Assignees
Milestone

Comments

@anandtrex
Copy link

Accessing the values of U with with_address=False:

projection.get('U', format='list', with_address=False)

throws an error

Traceback (most recent call last):
...
  File "/path/to/site-packages/pyNN/common/projections.py", line 319, in get
    values = self._get_attributes_as_list(names)
  File "/path/to/site-packages/pyNN/nest/projections.py", line 339, in _get_attributes_as_list
    values[i] = tuple(values[i])
TypeError: 'tuple' object does not support item assignment
@apdavison apdavison added this to the 0.9.2 milestone Aug 8, 2017
apdavison added a commit to apdavison/PyNN that referenced this issue Sep 5, 2017
("Accessing U with with_address=False throws error")
@apdavison apdavison self-assigned this Sep 6, 2017
apdavison added a commit to apdavison/PyNN that referenced this issue Sep 6, 2017
apdavison added a commit that referenced this issue Oct 5, 2017
pgleeson added a commit to pgleeson/PyNN that referenced this issue Nov 30, 2017
* master: (42 commits)
Ignoring gen files
Improved export to nml2
Improved export of electrodes to neuron
Updates to export of currents
Modified `CurrentSource.get_data()` to return a Neo signal object
Formally drop support for Python 2.6
Slightly simplify native electrode type implementation
delete self.phase_given
Remove phase and have_nest
Test against NEURON 7.5
Travis test against NEST 2.14.0
Enabled test `issue497()`
Changement test_nest.py
Changes for native_electrode_type()
Creation of native_electrode_type()
Update requirements.txt - fixes NeuralEnsemble#533
SciUnit interface of microcircuit.py, utilizes
networkunit.capabilities.produces_spiketrain
Added matplotlib.use('Agg')
Run test for NeuralEnsemble#505 with all backends; add `min_delay` to avoid error
with pyNN.neuron
Fixes NeuralEnsemble#477
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants