diff --git a/bob/pad/face/database/replay.py b/bob/pad/face/database/replay.py index 40414def433321d6e28f3409f5fb7f289c88ee55..be1276c5d373a0bb15421e727776352e500505af 100644 --- a/bob/pad/face/database/replay.py +++ b/bob/pad/face/database/replay.py @@ -93,22 +93,15 @@ class ReplayPadDatabase(PadDatabase): def __init__( self, - all_files_options={}, - check_original_files_for_existence=False, + protocol='grandtest', # grandtest is the default protocol for this database original_directory=None, original_extension=None, - # here I have said grandtest because this is the name of the default - # protocol for this database - protocol='grandtest', **kwargs): """ **Parameters:** - ``all_files_options`` : :py:class:`dict` - Dictionary of options passed to the second-level database query when retrieving all data. - - ``check_original_files_for_existence`` : :py:class:`bool` - Enables to test for the original data files when querying the database. + ``protocol`` : :py:class:`str` or ``None`` + The name of the protocol that defines the default experimental setup for this database. ``original_directory`` : :py:class:`str` The directory where the original data of the database are stored. @@ -116,9 +109,6 @@ class ReplayPadDatabase(PadDatabase): ``original_extension`` : :py:class:`str` The file name extension of the original data. - ``protocol`` : :py:class:`str` or ``None`` - The name of the protocol that defines the default experimental setup for this database. - ``kwargs`` The arguments of the :py:class:`bob.bio.base.database.BioDatabase` base class constructor. """ @@ -134,12 +124,10 @@ class ReplayPadDatabase(PadDatabase): # Always use super to call parent class methods. super(ReplayPadDatabase, self).__init__( - 'replay', - all_files_options, - check_original_files_for_existence, - original_directory, - original_extension, - protocol, + name = 'replay', + protocol = protocol, + original_directory = original_directory, + original_extension = original_extension, **kwargs) def objects(self, groups=None, protocol=None, purposes=None, model_ids=None, **kwargs):