You could also use:

nest.SetStatus(conn, params='weight', val=newweight)


Am Di., 13. Aug. 2019 um 11:17 Uhr schrieb Ankur Sinha <>:
On Tue, Aug 13, 2019 08:11:32 -0000, wrote:
> Hi everyone,

Hi Sun,

> I am SUN, working in RIKEN, Japan.

> I am working on one issue.
> I am useing the GetConnections to get the weights and keep it in the text.
> connections = nest.GetConnections(source, target)

This returns a list of dictionaries---one for each connection based on
your source/target arguments. You can see the contents of "connections"


> When I want to update the weight with the new information.
> I am using this:
> conn=nest.GetConnections(gid,gid)
> nest.SetStatus(conn, newweight)

> But it is not working, do you have any ideas?

We want to update the "weight" key of the "connection" dictionary, so
we would use:

nest.SetStatus(conn, {'weight': newweight})

Please try that and let us know if it works.

Ankur Sinha (He / Him / His) |
PhD candidate in computational neuroscience at UH Biocomputation |
Time zone: Europe/London
NEST Users mailing list --
To unsubscribe send an email to

Gui Miotto