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
ae4ba1be
Commit
ae4ba1be
authored
5 years ago
by
Tiago de Freitas Pereira
Browse files
Options
Downloads
Plain Diff
Merge branch 'dask-pipelines' of gitlab.idiap.ch:bob/bob.bio.base into dask-pipelines
parents
2dd31f4e
80b35bcb
No related branches found
No related tags found
1 merge request
!180
[dask] Preparing bob.bio.base for dask pipelines
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/bio/base/database/database.py
+5
-4
5 additions, 4 deletions
bob/bio/base/database/database.py
version.txt
+1
-1
1 addition, 1 deletion
version.txt
with
6 additions
and
5 deletions
bob/bio/base/database/database.py
+
5
−
4
View file @
ae4ba1be
...
@@ -4,8 +4,6 @@
...
@@ -4,8 +4,6 @@
import
os
import
os
import
abc
import
abc
import
six
import
six
# Nose is detecting a function as a test function, while it is not...
from
numpy.testing.decorators
import
setastest
import
bob.db.base
import
bob.db.base
...
@@ -64,6 +62,10 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.FileDatabase)):
...
@@ -64,6 +62,10 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.FileDatabase)):
The arguments of the `Database` base class constructor.
The arguments of the `Database` base class constructor.
"""
"""
# tell test runners (such as nose and pytest) that this class is not a test class
___test___
=
False
def
__init__
(
def
__init__
(
self
,
self
,
name
,
name
,
...
@@ -302,7 +304,7 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.FileDatabase)):
...
@@ -302,7 +304,7 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.FileDatabase)):
protocol: str
protocol: str
The protocol for which the groups should be retrieved.
The protocol for which the groups should be retrieved.
If you do not have protocols defined, just ignore this field.
If you do not have protocols defined, just ignore this field.
"""
"""
raise
NotImplementedError
(
"
This function must be implemented in your derived class.
"
)
raise
NotImplementedError
(
"
This function must be implemented in your derived class.
"
)
...
@@ -436,7 +438,6 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.FileDatabase)):
...
@@ -436,7 +438,6 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.FileDatabase)):
else
:
else
:
return
files
return
files
@setastest
(
False
)
def
test_files
(
self
,
groups
=
[
'
dev
'
]):
def
test_files
(
self
,
groups
=
[
'
dev
'
]):
"""
test_files(groups = [
'
dev
'
]) -> files
"""
test_files(groups = [
'
dev
'
]) -> files
...
...
This diff is collapsed.
Click to expand it.
version.txt
+
1
−
1
View file @
ae4ba1be
4.0.3b0
4.1.1b0
\ No newline at end of file
\ No newline at end of file
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