Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.base
Commits
ce5ac634
Commit
ce5ac634
authored
Nov 27, 2017
by
Amir MOHAMMADI
Browse files
Do not use pretty prininting with kwargs
parent
41c0afd4
Pipeline
#14342
passed with stages
in 11 minutes
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/base/database/database.py
View file @
ce5ac634
...
...
@@ -101,7 +101,7 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.FileDatabase)):
self
.
enroller_training_options
=
enroller_training_options
self
.
check_existence
=
check_original_files_for_existence
self
.
_kwargs
=
kwargs
self
.
_kwargs
=
{}
self
.
annotation_directory
=
annotation_directory
self
.
annotation_extension
=
annotation_extension
...
...
bob/bio/base/database/filelist/query.py
View file @
ce5ac634
...
...
@@ -130,7 +130,6 @@ class FileListBioDatabase(ZTBioDatabase):
and the given sub-directories and file names (which default to useful values if not given)."""
super
(
FileListBioDatabase
,
self
).
__init__
(
filelists_directory
=
filelists_directory
,
name
=
name
,
protocol
=
protocol
,
original_directory
=
original_directory
,
...
...
@@ -138,7 +137,10 @@ class FileListBioDatabase(ZTBioDatabase):
annotation_directory
=
annotation_directory
,
annotation_extension
=
annotation_extension
,
annotation_type
=
annotation_type
,
# extra args for pretty printing
**
kwargs
)
# extra args for pretty printing
self
.
_kwargs
.
update
(
dict
(
filelists_directory
=
filelists_directory
,
dev_sub_directory
=
dev_sub_directory
,
eval_sub_directory
=
eval_sub_directory
,
world_filename
=
world_filename
,
...
...
@@ -150,9 +152,10 @@ class FileListBioDatabase(ZTBioDatabase):
tnorm_filename
=
tnorm_filename
,
znorm_filename
=
znorm_filename
,
use_dense_probe_file_list
=
use_dense_probe_file_list
,
# if both probe_filename and scores_filename are given, what kind of list should be used?
# if both probe_filename and scores_filename are given, what kind
# of list should be used?
keep_read_lists_in_memory
=
keep_read_lists_in_memory
,
**
kwargs
)
)
)
# self.original_directory = original_directory
# self.original_extension = original_extension
self
.
bio_file_class
=
bio_file_class
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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