pypet/utils/mpwrappers.py
def store(self, msg, stuff_to_store, *args, **kwargs):
        """Simply keeps a reference to the stored data """
        trajectory_name = kwargs['trajectory_name']
        if trajectory_name not in self.references:
            self.references[trajectory_name] = []
        self.references[trajectory_name].append((msg, cp.copy(stuff_to_store), args, kwargs))
def store(self, msg, stuff_to_store, *args, **kwargs):
        trajectory_name = kwargs['trajectory_name']
        if trajectory_name not in self.references:
            self.references[trajectory_name] = []
        self.references[trajectory_name].append((msg, cp.copy(stuff_to_store), args, kwargs))
def store ( self , msg , stuff_to_store , * args , * * kwargs ) : trajectory_name = kwargs [ 'trajectory_name' ] if trajectory_name not in self . references : self . references [ trajectory_name ] = [ ] self . references [ trajectory_name ] . append ( ( msg , cp . copy ( stuff_to_store ) , args , kwargs ) )
Simply keeps a reference to the stored data
Simply keeps a reference to the stored data