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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.bio.vein
Commits
d92c659f
There was a problem fetching the pipeline summary.
Commit
d92c659f
authored
8 years ago
by
Teodors EGLITIS
Browse files
Options
Downloads
Patches
Plain Diff
removed BIOWAVE_TEST high level implemementation
parent
85745824
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!13
Annotation experiments
,
!9
Merge remove-biowave into master
Pipeline
#
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
bob/bio/vein/database/__init__.py
+0
-1
0 additions, 1 deletion
bob/bio/vein/database/__init__.py
bob/bio/vein/database/biowave_test.py
+0
-62
0 additions, 62 deletions
bob/bio/vein/database/biowave_test.py
develop.cfg
+0
-2
0 additions, 2 deletions
develop.cfg
setup.py
+0
-1
0 additions, 1 deletion
setup.py
with
0 additions
and
66 deletions
bob/bio/vein/database/__init__.py
+
0
−
1
View file @
d92c659f
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
# vim: set fileencoding=utf-8 :
# vim: set fileencoding=utf-8 :
from
.database
import
VeinBioFile
from
.database
import
VeinBioFile
from
.biowave_test
import
BiowaveTestBioDatabase
from
.verafinger
import
VerafingerBioDatabase
from
.verafinger
import
VerafingerBioDatabase
from
.utfvp
import
UtfvpBioDatabase
from
.utfvp
import
UtfvpBioDatabase
...
...
This diff is collapsed.
Click to expand it.
bob/bio/vein/database/biowave_test.py
deleted
100644 → 0
+
0
−
62
View file @
85745824
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Tue 27 Sep 2016 16:49:15 CEST
"""
BIOWAVE_TEST database implementation of bob.bio.db.BioDatabase interface.
It is an extension of an SQL-based database interface, which directly talks to
BIOWAVE_TEST database for verification experiments (good to use in bob.bio.base
framework).
"""
from
.database
import
VeinBioFile
from
bob.bio.base.database
import
BioDatabase
,
BioFile
class
BiowaveTestBioDatabase
(
BioDatabase
):
"""
Implements verification API for querying BIOWAVE_TEST database.
"""
def
__init__
(
self
,
**
kwargs
):
# before it was also "name" in the init.
#
# the BioDatabase class is defined in:
# bob.bio.db/bob/bio/db/database.py
#
# In this -- the high level implementation we call base class constructors to
# open a session to the database. We use **kwargs so that we could pass
# the arguments later, e.g. from the default database configuration.
super
(
BiowaveTestBioDatabase
,
self
).
__init__
(
name
=
'
biowave_test
'
,
**
kwargs
)
from
bob.db.biowave_test.query
import
Database
as
LowLevelDatabase
self
.
__db
=
LowLevelDatabase
()
def
client_id_from_model_id
(
self
,
model_id
,
group
=
'
dev
'
):
"""
Required as ``model_id != client_id`` on this database
"""
return
self
.
__db
.
client_id_from_model_id
(
model_id
)
def
model_ids_with_protocol
(
self
,
groups
=
None
,
protocol
=
None
,
**
kwargs
):
return
self
.
__db
.
model_ids
(
protocol
=
protocol
,
groups
=
groups
)
def
objects
(
self
,
protocol
=
None
,
groups
=
None
,
purposes
=
None
,
model_ids
=
None
,
**
kwargs
):
retval
=
self
.
__db
.
objects
(
protocol
=
protocol
,
groups
=
groups
,
purposes
=
purposes
,
model_ids
=
model_ids
)
return
[
VeinBioFile
(
client_id
=
f
.
client_id
,
path
=
f
.
path
,
file_id
=
f
.
id
)
for
f
in
retval
]
# the methodes are derived from:
# bob.bio.db/bob/bio/db/database.py
# this means that methodes defined there need to have certain arguments, e.g.:
# model_ids_with_protocol:
# groups;
# protocol;
# objects:
# groups;
# protocol;
# purposes;
# model_ids;
# If you have some other arguments to pass, use **kwargs, if your methods doesn't have some
# arguments, just don't pass them (e.g. see the model_ids).
This diff is collapsed.
Click to expand it.
develop.cfg
+
0
−
2
View file @
d92c659f
...
@@ -28,7 +28,6 @@ develop = src/bob.extension
...
@@ -28,7 +28,6 @@ develop = src/bob.extension
src/bob.db.verafinger
src/bob.db.verafinger
src/bob.db.utfvp
src/bob.db.utfvp
src/bob.db.putvein
src/bob.db.putvein
src/bob.db.biowave_test
src/bob.learn.activation
src/bob.learn.activation
src/bob.learn.linear
src/bob.learn.linear
src/bob.learn.em
src/bob.learn.em
...
@@ -55,7 +54,6 @@ bob.db.base = git git@gitlab.idiap.ch:bob/bob.db.base
...
@@ -55,7 +54,6 @@ bob.db.base = git git@gitlab.idiap.ch:bob/bob.db.base
bob.db.verafinger
=
git git@gitlab.idiap.ch:bob/bob.db.verafinger
bob.db.verafinger
=
git git@gitlab.idiap.ch:bob/bob.db.verafinger
bob.db.utfvp
=
git git@gitlab.idiap.ch:bob/bob.db.utfvp
bob.db.utfvp
=
git git@gitlab.idiap.ch:bob/bob.db.utfvp
bob.db.putvein
=
git git@gitlab.idiap.ch:bob/bob.db.putvein
bob.db.putvein
=
git git@gitlab.idiap.ch:bob/bob.db.putvein
bob.db.biowave_test
=
git git@gitlab.idiap.ch:bob/bob.db.biowave_test
bob.learn.activation
=
git git@gitlab.idiap.ch:bob/bob.learn.activation
bob.learn.activation
=
git git@gitlab.idiap.ch:bob/bob.learn.activation
bob.learn.linear
=
git git@gitlab.idiap.ch:bob/bob.learn.linear
bob.learn.linear
=
git git@gitlab.idiap.ch:bob/bob.learn.linear
bob.learn.em
=
git git@gitlab.idiap.ch:bob/bob.learn.em
bob.learn.em
=
git git@gitlab.idiap.ch:bob/bob.learn.em
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
0
−
1
View file @
d92c659f
...
@@ -35,7 +35,6 @@ setup(
...
@@ -35,7 +35,6 @@ setup(
# databases
# databases
'
verafinger = bob.bio.vein.configurations.verafinger
'
,
'
verafinger = bob.bio.vein.configurations.verafinger
'
,
'
utfvp = bob.bio.vein.configurations.utfvp
'
,
'
utfvp = bob.bio.vein.configurations.utfvp
'
,
'
biowave_test = bob.bio.vein.configurations.biowave_test
'
,
# baselines
# baselines
'
mc = bob.bio.vein.configurations.maximum_curvature
'
,
'
mc = bob.bio.vein.configurations.maximum_curvature
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment