Skip to content

disconnect() does not work reliably without compressed spikes #3532

@heplesser

Description

@heplesser

This code creates four connections and deletes the second of them:

import nest
nest.use_compressed_spikes = False
n = nest.Create("parrot_neuron", 2)
nest.Connect(n, n)
c = nest.GetConnections()
c[1].disconnect()

If run as is, it will raise

NESTErrors.The connection does not exist: The connection does not exist in SLI function Disconnect_a: Deletion of connection is not possible.

even though the connection obviously is there.

When run with nest.use_compressed_spikes = True (default), the test completes successfully.

This raises the overall question whether there are other tests that will fail if they were run without compressed spikes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    S: NormalHandle this with default priorityT: BugWrong statements in the code or documentationstaleAutomatic marker for inactivity, please have another look here

    Type

    No type

    Projects

    Status

    To do (open issues)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions