Commit 7e6ac136 authored by Manuel Günther's avatar Manuel Günther
Browse files

Adapted database to new xbob.db.verification.utils interface.

parent a13b9f1a
......@@ -23,7 +23,7 @@ from setuptools import setup, find_packages
setup(
name='xbob.db.banca',
version='1.1.4a0',
version='1.2.1a0',
description='BANCA Database Access API for Bob',
url='https://pypi.python.org/pypi/xbob.db.banca',
license='GPLv3',
......@@ -41,7 +41,7 @@ setup(
'setuptools',
'six', # py2/3 compatibility library
'bob', # base signal proc./machine learning library
'xbob.db.verification.utils>=0.1.4' # defines a set of utilities for face verification databases like this one.
'xbob.db.verification.utils>=1.0.0' # defines a set of utilities for face verification databases like this one.
],
namespace_packages = [
......
......@@ -37,10 +37,10 @@ class Database(xbob.db.verification.utils.SQLiteDatabase, xbob.db.verification.u
and for the data itself inside the database.
"""
def __init__(self):
def __init__(self, original_directory = None, original_extension = None):
# call base class constructors
xbob.db.verification.utils.SQLiteDatabase.__init__(self, SQLITE_FILE, File)
xbob.db.verification.utils.ZTDatabase.__init__(self)
xbob.db.verification.utils.ZTDatabase.__init__(self, original_directory=original_directory, original_extension=original_extension)
def __group_replace_alias__(self, l):
"""Replace 'dev' by 'g1' and 'eval' by 'g2' in a list of groups, and
......
Supports Markdown
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