Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.base
Commits
d46b2651
Commit
d46b2651
authored
May 11, 2017
by
Amir MOHAMMADI
Browse files
The bob.db.base.Database now accepts original_directory and original_extension
parent
bcd6469a
Pipeline
#9202
passed with stages
in 30 minutes and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/base/database/database.py
View file @
d46b2651
...
...
@@ -88,6 +88,10 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.Database)):
assert
isinstance
(
name
,
str
)
super
(
BioDatabase
,
self
).
__init__
(
original_directory
=
original_directory
,
original_extension
=
original_extension
)
self
.
name
=
name
self
.
all_files_options
=
all_files_options
...
...
@@ -98,8 +102,6 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.Database)):
self
.
_kwargs
=
kwargs
self
.
original_directory
=
original_directory
self
.
original_extension
=
original_extension
self
.
annotation_directory
=
annotation_directory
self
.
annotation_extension
=
annotation_extension
self
.
annotation_type
=
annotation_type
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment