703c9aa90011c25a620b7d862f062ec5d0382d84,spynnaker/pyNN/models/neuron/synapse_dynamics/synapse_dynamics_structural_stdp.py,SynapseDynamicsStructuralSTDP,merge,#SynapseDynamicsStructuralSTDP#Any#,129

Before Change


    def merge(self, synapse_dynamics):
        // If other is structural, check structural matches
        if isinstance(synapse_dynamics, AbstractSynapseDynamicsStructural):
            if not CommonSP.is_same_as(self, synapse_dynamics):
                raise SynapticConfigurationException(
                    "Synapse dynamics must match exactly when using multiple"
                    " edges to the same population")
        // If other is STDP, check STDP matches

After Change


    def merge(self, synapse_dynamics):
        // If other is structural, check structural matches
        if isinstance(synapse_dynamics, AbstractSynapseDynamicsStructural):
            if not SynapseDynamicsStructuralCommon.is_same_as(
                    self, synapse_dynamics):
                raise SynapticConfigurationException(
                    "Synapse dynamics must match exactly when using multiple"
                    " edges to the same population")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 703c9aa90011c25a620b7d862f062ec5d0382d84
Time: 2020-08-31
Author: christian.brenninkmeijer@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/synapse_dynamics/synapse_dynamics_structural_stdp.py
Class Name: SynapseDynamicsStructuralSTDP
Method Name: merge


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 4adf23a6eae95456f772c8cf477e5f632f9bf844
Time: 2020-08-28
Author: christian.brenninkmeijer@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/synapse_dynamics/synapse_dynamics_structural_stdp.py
Class Name: SynapseDynamicsStructuralSTDP
Method Name: is_same_as


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 4adf23a6eae95456f772c8cf477e5f632f9bf844
Time: 2020-08-28
Author: christian.brenninkmeijer@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/synapse_dynamics/synapse_dynamics_structural_stdp.py
Class Name: SynapseDynamicsStructuralSTDP
Method Name: merge


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 703c9aa90011c25a620b7d862f062ec5d0382d84
Time: 2020-08-31
Author: christian.brenninkmeijer@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/synapse_dynamics/synapse_dynamics_structural_stdp.py
Class Name: SynapseDynamicsStructuralSTDP
Method Name: is_same_as