Ticket #213 (closed defect: fixed)
Problem setting weights in nest when target='inhibitory'
| Reported by: | mschmucker | Owned by: | apdavison |
|---|---|---|---|
| Priority: | major | Milestone: | 0.8.0 |
| Component: | nest | Version: | trunk |
| Keywords: | Cc: |
Description
Setting a weight on an inhibitory synapse produces an AttributeError?.
Try the following:
import pyNN.nest as p p.setup() a = p.Population(1, cellclass=p.IF_cond_exp) b = p.Population(1, cellclass=p.IF_cond_exp) pr = p.Projection(a,b,method=p.AllToAllConnector(), target='inhibitory') pr.setWeights(0.001)
produces
AttributeError: 'Projection' object has no attribute 'parent'
(see full traceback in attachment).
The same code worked for me in 0.7 - is it maybe just an API change I missed? In that case, a clearer error message or warning would be helpful.
Cheers,
Michael
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

