Skip to content
Snippets Groups Projects
Commit f8a50678 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

[refactoring2016] Updated the annotations function

parent 3030866d
No related branches found
No related tags found
1 merge request!37Issue 8 remove database configuration
......@@ -278,7 +278,7 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.Database)):
"""
if self.annotation_directory:
try:
from .annotations import read_annotation_file
from bob.db.base.annotations import read_annotation_file
annotation_path = os.path.join(self.annotation_directory, file.path + self.annotation_extension)
return read_annotation_file(annotation_path, self.annotation_type)
except ImportError as e:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment