Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.base
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.base
Commits
cf12e92a
There was a problem fetching the pipeline summary.
Commit
cf12e92a
authored
8 years ago
by
Pavel KORSHUNOV
Browse files
Options
Downloads
Patches
Plain Diff
fix failing tests
parent
b55ecdb9
No related branches found
Branches containing commit
No related tags found
1 merge request
!31
Fix failing tests after corrections to bob.bio.db
Pipeline
#
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bob/bio/base/test/dummy/database.py
+2
-2
2 additions, 2 deletions
bob/bio/base/test/dummy/database.py
bob/bio/base/test/dummy/fileset.py
+2
-2
2 additions, 2 deletions
bob/bio/base/test/dummy/fileset.py
bob/bio/base/tools/FileSelector.py
+2
-2
2 additions, 2 deletions
bob/bio/base/tools/FileSelector.py
with
6 additions
and
6 deletions
bob/bio/base/test/dummy/database.py
+
2
−
2
View file @
cf12e92a
...
...
@@ -16,8 +16,8 @@ class DummyDatabase(ZTBioDatabase):
)
self
.
__db
=
AtntBioDatabase
()
def
model_ids
(
self
,
group
=
None
,
protocol
=
None
,
gender
=
None
):
return
self
.
__db
.
model_ids
(
group
,
protocol
,
gender
)
def
model_ids
(
self
,
group
s
=
None
,
protocol
=
None
,
gender
=
None
):
return
self
.
__db
.
model_ids
(
group
s
,
protocol
,
gender
)
def
objects
(
self
,
groups
=
None
,
protocol
=
None
,
purposes
=
None
,
model_ids
=
None
,
**
kwargs
):
return
self
.
__db
.
objects
(
groups
,
protocol
,
purposes
,
model_ids
,
**
kwargs
)
...
...
This diff is collapsed.
Click to expand it.
bob/bio/base/test/dummy/fileset.py
+
2
−
2
View file @
cf12e92a
...
...
@@ -33,8 +33,8 @@ class DummyDatabase(ZTBioDatabase):
file_sets
.
append
(
file_set
)
return
file_sets
def
model_ids
(
self
,
group
=
None
,
protocol
=
None
,
gender
=
None
):
return
self
.
__db
.
model_ids
(
group
,
protocol
,
gender
)
def
model_ids
(
self
,
group
s
=
None
,
protocol
=
None
,
gender
=
None
):
return
self
.
__db
.
model_ids
(
group
s
,
protocol
,
gender
)
def
objects
(
self
,
groups
=
None
,
protocol
=
None
,
purposes
=
None
,
model_ids
=
None
,
**
kwargs
):
return
self
.
__db
.
objects
(
groups
,
protocol
,
purposes
,
model_ids
,
**
kwargs
)
...
...
This diff is collapsed.
Click to expand it.
bob/bio/base/tools/FileSelector.py
+
2
−
2
View file @
cf12e92a
...
...
@@ -158,7 +158,7 @@ class FileSelector:
def
model_ids
(
self
,
group
):
"""
Returns the sorted list of model ids from the given group.
"""
return
sorted
(
self
.
database
.
model_ids
(
group
=
group
))
return
sorted
(
self
.
database
.
model_ids
(
group
s
=
group
))
def
enroll_files
(
self
,
model_id
,
group
,
directory_type
):
"""
Returns the list of model feature files used for enrollment of the model with the given model_id from the given group.
...
...
@@ -190,7 +190,7 @@ class FileSelector:
def
t_model_ids
(
self
,
group
):
"""
Returns the sorted list of T-Norm-model ids from the given group.
"""
return
sorted
(
self
.
database
.
t_model_ids
(
group
=
group
))
return
sorted
(
self
.
database
.
t_model_ids
(
group
s
=
group
))
def
t_enroll_files
(
self
,
t_model_id
,
group
,
directory_type
):
"""
Returns the list of T-norm model files used for enrollment of the given model_id from the given group.
"""
...
...
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