From 7ebd4c619d84faf3065ce2bc655598c5cb410828 Mon Sep 17 00:00:00 2001 From: Andre Mayoraz <andre.mayoraz@idiap.ch> Date: Wed, 14 Dec 2022 18:36:21 +0100 Subject: [PATCH] [qa] black, flake8 --- bob/bio/vein/database/utfvp.py | 8 ++++---- bob/bio/vein/database/verafinger_contactless.py | 9 +++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/bob/bio/vein/database/utfvp.py b/bob/bio/vein/database/utfvp.py index 3b002c3..aab0982 100644 --- a/bob/bio/vein/database/utfvp.py +++ b/bob/bio/vein/database/utfvp.py @@ -13,7 +13,6 @@ import bob.io.base from bob.bio.base.database import CSVDatabase, FileSampleLoader from bob.bio.vein.database.roi_annotation import ROIAnnotation from bob.extension import rc -from bob.extension.download import get_file class UtfvpDatabase(CSVDatabase): @@ -154,13 +153,14 @@ class UtfvpDatabase(CSVDatabase): that generated the model being matched. So, there are 1299 probes per model. """ + name = "utfvp" category = "vein" dataset_protocols_name = "utfvp.tar.gz" dataset_protocols_urls = [ - "https://www.idiap.ch/software/bob/databases/latest/vein/utfvp-fe51ba85.tar.gz", - "http://www.idiap.ch/software/bob/databases/latest/vein/utfvp-fe51ba85.tar.gz", - ] + "https://www.idiap.ch/software/bob/databases/latest/vein/utfvp-fe51ba85.tar.gz", + "http://www.idiap.ch/software/bob/databases/latest/vein/utfvp-fe51ba85.tar.gz", + ] dataset_protocols_hash = "fe51ba85" def __init__(self, protocol): diff --git a/bob/bio/vein/database/verafinger_contactless.py b/bob/bio/vein/database/verafinger_contactless.py index ec52d00..4c71ff6 100644 --- a/bob/bio/vein/database/verafinger_contactless.py +++ b/bob/bio/vein/database/verafinger_contactless.py @@ -10,7 +10,6 @@ import bob.io.base from bob.bio.base.database import CSVDatabase, FileSampleLoader from bob.extension import rc -from bob.extension.download import get_file class VerafingerContactless(CSVDatabase): @@ -50,14 +49,16 @@ class VerafingerContactless(CSVDatabase): * Probes : session 3, 4 &5 """ + name = "verafinger_contactless" category = "vein" dataset_protocols_name = "verafinger_contactless.tar.gz" dataset_protocols_urls = [ - "https://www.idiap.ch/software/bob/databases/latest/vein/verafinger_contactless-656ef935.tar.gz", - "http://www.idiap.ch/software/bob/databases/latest/vein/verafinger_contactless-656ef935.tar.gz", - ] + "https://www.idiap.ch/software/bob/databases/latest/vein/verafinger_contactless-656ef935.tar.gz", + "http://www.idiap.ch/software/bob/databases/latest/vein/verafinger_contactless-656ef935.tar.gz", + ] dataset_protocols_hash = "656ef935" + def __init__(self, protocol): super().__init__( -- GitLab