Changeset 967
- Timestamp:
- 05/26/11 16:16:29 (12 months ago)
- Files:
-
- 1 modified
-
trunk/src/neuron/simulator.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/neuron/simulator.py
r957 r967 452 452 nc.weight[0] = weight 453 453 454 # if we have a mechanism (e.g. from 9ML that includes multiple454 # if we have a mechanism (e.g. from 9ML) that includes multiple 455 455 # synaptic channels, need to set nc.weight[1] here 456 if nc.wcnt() > 1 :456 if nc.wcnt() > 1 and hasattr(target._cell, "type"): 457 457 nc.weight[1] = target._cell.type.synapse_types.index(self.synapse_type) 458 458 nc.delay = delay
