pypet/parameter.py
def f_set_single(self, name, item):
        """Adds a single data item to the pickle result.

         Note that it is NOT checked if the item can be pickled!

        """

        if self.v_stored:
            self._logger.debug('You are changing an already stored result. If '
                                 'you not explicitly overwrite the data on disk, this change '
                                 'might be lost and not propagated to disk.')

        if name == PickleResult.PROTOCOL:
            raise AttributeError('You cannot name an entry `%s`' % PickleResult.PROTOCOL)

        self._data[name] = item
def f_set_single(self, name, item):
        if self.v_stored:
            self._logger.debug('You are changing an already stored result. If '
                                 'you not explicitly overwrite the data on disk, this change '
                                 'might be lost and not propagated to disk.')

        if name == PickleResult.PROTOCOL:
            raise AttributeError('You cannot name an entry `%s`' % PickleResult.PROTOCOL)

        self._data[name] = item
def f_set_single ( self , name , item ) : if self . v_stored : self . _logger . debug ( 'You are changing an already stored result. If ' 'you not explicitly overwrite the data on disk, this change ' 'might be lost and not propagated to disk.' ) if name == PickleResult . PROTOCOL : raise AttributeError ( 'You cannot name an entry `%s`' % PickleResult . PROTOCOL ) self . _data [ name ] = item
Adds a single data item to the pickle result.

         Note that it is NOT checked if the item can be pickled!
Adds a single data item to the pickle result .