Skip to content
Snippets Groups Projects
Commit 7ebd4c61 authored by André MAYORAZ's avatar André MAYORAZ
Browse files

[qa] black, flake8

parent da405d2d
Branches
Tags
1 merge request!65refactor for bob.bio.base!300
Pipeline #67741 failed
...@@ -13,7 +13,6 @@ import bob.io.base ...@@ -13,7 +13,6 @@ import bob.io.base
from bob.bio.base.database import CSVDatabase, FileSampleLoader from bob.bio.base.database import CSVDatabase, FileSampleLoader
from bob.bio.vein.database.roi_annotation import ROIAnnotation from bob.bio.vein.database.roi_annotation import ROIAnnotation
from bob.extension import rc from bob.extension import rc
from bob.extension.download import get_file
class UtfvpDatabase(CSVDatabase): class UtfvpDatabase(CSVDatabase):
...@@ -154,13 +153,14 @@ class UtfvpDatabase(CSVDatabase): ...@@ -154,13 +153,14 @@ class UtfvpDatabase(CSVDatabase):
that generated the model being matched. So, there are 1299 probes per model. that generated the model being matched. So, there are 1299 probes per model.
""" """
name = "utfvp" name = "utfvp"
category = "vein" category = "vein"
dataset_protocols_name = "utfvp.tar.gz" dataset_protocols_name = "utfvp.tar.gz"
dataset_protocols_urls = [ dataset_protocols_urls = [
"https://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", "http://www.idiap.ch/software/bob/databases/latest/vein/utfvp-fe51ba85.tar.gz",
] ]
dataset_protocols_hash = "fe51ba85" dataset_protocols_hash = "fe51ba85"
def __init__(self, protocol): def __init__(self, protocol):
......
...@@ -10,7 +10,6 @@ import bob.io.base ...@@ -10,7 +10,6 @@ import bob.io.base
from bob.bio.base.database import CSVDatabase, FileSampleLoader from bob.bio.base.database import CSVDatabase, FileSampleLoader
from bob.extension import rc from bob.extension import rc
from bob.extension.download import get_file
class VerafingerContactless(CSVDatabase): class VerafingerContactless(CSVDatabase):
...@@ -50,14 +49,16 @@ class VerafingerContactless(CSVDatabase): ...@@ -50,14 +49,16 @@ class VerafingerContactless(CSVDatabase):
* Probes : session 3, 4 &5 * Probes : session 3, 4 &5
""" """
name = "verafinger_contactless" name = "verafinger_contactless"
category = "vein" category = "vein"
dataset_protocols_name = "verafinger_contactless.tar.gz" dataset_protocols_name = "verafinger_contactless.tar.gz"
dataset_protocols_urls = [ dataset_protocols_urls = [
"https://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", "http://www.idiap.ch/software/bob/databases/latest/vein/verafinger_contactless-656ef935.tar.gz",
] ]
dataset_protocols_hash = "656ef935" dataset_protocols_hash = "656ef935"
def __init__(self, protocol): def __init__(self, protocol):
super().__init__( super().__init__(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment