Changeset 1028 for trunk

Show
Ignore:
Timestamp:
12/09/11 02:22:59 (6 months ago)
Author:
pierre
Message:

Fix some bugs in Nemo in order to be able to run and stop a simulation without losing any spikes. Backend is giving good results.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/nemo/recording.py

    r1022 r1028  
    5555            mask = reduce(numpy.add, (self.data[:,0]==id for id in filtered_ids))                             
    5656            data = self.data[mask] 
    57         return data 
     57            return data 
     58        else: 
     59            return self.data 
    5860 
    5961    def _local_count(self, filter=None):