Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.vein
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.bio.vein
Merge requests
!51
[sphinx] Fixing nightlies
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
[sphinx] Fixing nightlies
fixes
into
master
Overview
3
Commits
1
Pipelines
1
Changes
5
1 open thread
Thread options
Hide all comments
Merged
[sphinx] Fixing nightlies
Tiago de Freitas Pereira
requested to merge
fixes
into
master
Jun 25, 2021
Overview
3
Commits
1
Pipelines
1
Changes
5
1 open thread
Thread options
Hide all comments
Closes
#25 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ac4ab6d3
1 commit,
Jun 25, 2021
5 files
+
40
−
41
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
bob/bio/vein/config/database/fv3d.py
+
6
−
9
View file @ ac4ab6d3
Edit in single-file editor
Open in Web IDE
Show full file
@@ -16,30 +16,27 @@ from bob.bio.vein.database.fv3d import Database
from
bob.bio.base.pipelines.vanilla_biometrics
import
DatabaseConnector
import
logging
logger
=
logging
.
getLogger
(
"
bob.bio.vein
"
)
# Retrieve directory from config
_fv3d_directory
=
rc
[
"
bob.db.fv3d.directory
"
]
_fv3d_directory
=
rc
.
get
(
"
bob.db.fv3d.directory
"
,
""
)
"""
Value in ``~/.bobrc`` for this dataset directory
"""
# Set default protocol if not given via a config file
if
'
protocol
'
not
in
locals
():
if
"
protocol
"
not
in
locals
():
logger
.
info
(
"
protocol not specified, using default:
'
central
'"
)
protocol
=
'
central
'
protocol
=
"
central
"
legacy_database
=
Database
(
original_directory
=
_fv3d_directory
,
original_extension
=
'
.png
'
,
protocol
=
protocol
,
original_directory
=
_fv3d_directory
,
original_extension
=
"
.png
"
,
protocol
=
protocol
,
)
"""
The :py:class:`bob.bio.base.database.BioDatabase` derivative with fv3d
database settings
"""
database
=
DatabaseConnector
(
legacy_database
,
annotation_type
=
None
,
fixed_positions
=
None
legacy_database
,
annotation_type
=
None
,
fixed_positions
=
None
)
"""
The database interface wrapped for vanilla-biometrics
Loading