Show
Ignore:
Timestamp:
02/12/10 16:02:09 (2 years ago)
Author:
apdavison
Message:

Various fixes from running doctests

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/pcsim/electrodes.py

    r705 r708  
    1919    def inject_into(self, cell_list): 
    2020        """Inject this current source into some cells.""" 
    21         print "injecting current source into cells: %s" % str(cell_list) 
    2221        if simulator.state.num_processes == 1: 
    2322            delay = 0.0 
     
    2524            delay = simulator.state.min_delay # perhaps it would be better to replicate the current source on each node, to avoid this delay 
    2625        for cell in cell_list: 
    27             print cell, cell.local, cell.cellclass.recordable 
    2826            if cell.local and 'v' not in cell.cellclass.recordable: 
    2927                raise TypeError("Can't inject current into a spike source.") 
    3028            c = simulator.net.connect(self.input_node, cell, pypcsim.StaticAnalogSynapse(delay=0.001*delay)) 
    3129            self.connections.append(c) 
    32             print "connected current source to cell %s" % cell 
    3330     
    3431