Changeset 381

Show
Ignore:
Timestamp:
06/21/08 05:59:46 (5 months ago)
Author:
pierre
Message:

Fix the bug on plasticity, that was just a dictionnary problem. Simple_STDP.py now seems to work

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/nest2/__init__.py

    r380 r381  
    10051005 
    10061006            synapse_defaults = nest.GetSynapseDefaults(self._plasticity_model) 
     1007            if 'num_connectors' in synapse_defaults: 
     1008                synapse_defaults.pop('num_connectors') # otherwise NEST tells you to check your spelling! 
    10071009            synapse_defaults.pop('num_connections') # otherwise NEST tells you to check your spelling! 
    10081010            synapse_defaults.update(self._stdp_parameters)