pypet/storageservice.py
def _srvc_extract_file_information(self, kwargs):
        """Extracts file information from kwargs.

        Note that `kwargs` is not passed as `**kwargs` in order to also
        `pop` the elements on the level of the function calling `_srvc_extract_file_information`.

        """
        if 'filename' in kwargs:
            self._filename = kwargs.pop('filename')

        if 'file_title' in kwargs:
            self._file_title = kwargs.pop('file_title')

        if 'trajectory_name' in kwargs:
            self._trajectory_name = kwargs.pop('trajectory_name')

        if 'trajectory_index' in kwargs:
            self._trajectory_index = kwargs.pop('trajectory_index')
def _srvc_extract_file_information(self, kwargs):
        if 'filename' in kwargs:
            self._filename = kwargs.pop('filename')

        if 'file_title' in kwargs:
            self._file_title = kwargs.pop('file_title')

        if 'trajectory_name' in kwargs:
            self._trajectory_name = kwargs.pop('trajectory_name')

        if 'trajectory_index' in kwargs:
            self._trajectory_index = kwargs.pop('trajectory_index')
def _srvc_extract_file_information ( self , kwargs ) : if 'filename' in kwargs : self . _filename = kwargs . pop ( 'filename' ) if 'file_title' in kwargs : self . _file_title = kwargs . pop ( 'file_title' ) if 'trajectory_name' in kwargs : self . _trajectory_name = kwargs . pop ( 'trajectory_name' ) if 'trajectory_index' in kwargs : self . _trajectory_index = kwargs . pop ( 'trajectory_index' )
Extracts file information from kwargs.

        Note that `kwargs` is not passed as `**kwargs` in order to also
        `pop` the elements on the level of the function calling `_srvc_extract_file_information`.
Extracts file information from kwargs .