Commit 322bd9f3 authored by André Anjos's avatar André Anjos 💬

Merge branch 'add_full_protocols_for_individual_finger_types' into 'master'

Add new full protocols for individual finger types for UTFVP database

See merge request !10
parents d0c90689 62f8b74e
Pipeline #12327 passed with stages
in 76 minutes and 47 seconds
......@@ -15,5 +15,28 @@ def get_config():
return bob.extension.get_config(__name__)
# gets sphinx autodoc done right - don't remove it
def __appropriate__(*args):
"""Says object was actually declared here, an not on the import module.
Parameters:
*args: An iterable of objects to modify
Resolves `Sphinx referencing issues
<https://github.com/sphinx-doc/sphinx/issues/3048>`
"""
for obj in args: obj.__module__ = __name__
__appropriate__(
Database,
Client,
File,
Protocol,
Model,
)
# gets sphinx autodoc done right - don't remove it
__all__ = [_ for _ in dir() if not _.startswith('_')]
This diff is collapsed.
......@@ -32,7 +32,7 @@ class Database(bob.db.base.SQLiteDatabase):
if protocol == '1vsall':
return ('world', 'dev')
elif protocol == 'full':
elif protocol == 'full' or protocol == 'fullLeftRing' or protocol == 'fullLeftMiddle' or protocol == 'fullLeftIndex' or protocol == 'fullRightIndex' or protocol == 'fullRightMiddle' or protocol == 'fullRightRing':
return('dev')
else:
return ('world', 'dev', 'eval')
......@@ -54,6 +54,12 @@ class Database(bob.db.base.SQLiteDatabase):
* ``nomRightMiddle``
* ``nomRightRing``
* ``full``
* ``fullLeftRing``
* ``fullLeftMiddle``
* ``fullLeftIndex``
* ``fullRightIndex``
* ``fullRightMiddle``
* ``fullRightRing``
groups (:py:class:`str`, Optional): ignored (The clients belong both to
``world`` and ``dev``)
......@@ -106,6 +112,12 @@ class Database(bob.db.base.SQLiteDatabase):
* ``nomRightMiddle``
* ``nomRightRing``
* ``full``
* ``fullLeftRing``
* ``fullLeftMiddle``
* ``fullLeftIndex``
* ``fullRightIndex``
* ``fullRightMiddle``
* ``fullRightRing``
groups (:py:class:`str`, optional): Groups the clients belong to. Should
be one of:
......@@ -138,6 +150,12 @@ class Database(bob.db.base.SQLiteDatabase):
* ``nomRightMiddle``
* ``nomRightRing``
* ``full``
* ``fullLeftRing``
* ``fullLeftMiddle``
* ``fullLeftIndex``
* ``fullRightIndex``
* ``fullRightMiddle``
* ``fullRightRing``
groups (:py:class:`str`, optional): Groups the clients belong to. Should
be one of:
......@@ -183,6 +201,12 @@ class Database(bob.db.base.SQLiteDatabase):
* ``nomRightMiddle``
* ``nomRightRing``
* ``full``
* ``fullLeftRing``
* ``fullLeftMiddle``
* ``fullLeftIndex``
* ``fullRightIndex``
* ``fullRightMiddle``
* ``fullRightRing``
groups (:py:class:`str`, optional): Groups the clients belong to. Should
be one of:
......@@ -245,6 +269,12 @@ class Database(bob.db.base.SQLiteDatabase):
* ``nomRightMiddle``
* ``nomRightRing``
* ``full``
* ``fullLeftRing``
* ``fullLeftMiddle``
* ``fullLeftIndex``
* ``fullRightIndex``
* ``fullRightMiddle``
* ``fullRightRing``
purposes (:py:class:`str`, :py:class:`list`, optional): One or several
of:
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment