Commit 29ae368a authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Merge branch 'revert-31d905b0' into 'master'

Revert "replace the original_directory path in the low-level db too"

See merge request !101
parents cafee446 683f9968
Pipeline #14476 passed with stages
in 15 minutes and 39 seconds
......@@ -197,18 +197,9 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.FileDatabase)):
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment