Skip to content
GitLab
Menu
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
bf0ef461
Commit
bf0ef461
authored
Jan 15, 2017
by
Amir MOHAMMADI
Browse files
replace the original_directory path in the low-level db too
parent
b193d5df
Pipeline
#6516
passed with stages
in 28 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/base/database/database.py
View file @
bf0ef461
...
...
@@ -194,9 +194,18 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.Database)):
if
self
.
original_directory
in
replacements
:
self
.
original_directory
=
replacements
[
self
.
original_directory
]
try
:
self
.
_db
.
original_directory
=
self
.
original_directory
except
AttributeError
:
pass
try
:
if
self
.
annotation_directory
in
replacements
:
self
.
annotation_directory
=
replacements
[
self
.
annotation_directory
]
try
:
self
.
_db
.
annotation_directory
=
self
.
annotation_directory
except
AttributeError
:
pass
except
AttributeError
:
pass
...
...
Write
Preview
Supports
Markdown
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