Changeset 956

Show
Ignore:
Timestamp:
05/03/11 13:08:49 (13 months ago)
Author:
pierre
Message:

Fix due to a syntax error with nest.SetStatus?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/nest/simulator.py

    r948 r956  
    272272            if self.synapse_type == 'excitatory': 
    273273                param_name = self.parent.post.local_cells[0].celltype.translations['tau_syn_E']['translated_name'] 
    274             tau_syn = nest.GetStatus(targets, (param_name))[0] 
    275             nest.SetStatus(self.connections, {'tau_psc' : tau_syn})     
     274            tau_syn = nest.GetStatus(targets, (param_name)) 
     275            nest.SetStatus(self.connections, 'tau_psc', tau_syn)     
    276276 
    277277    def connect(self, source, targets, weights, delays):