From 8063a1df43de498e4525d300d8cdf30864b24522 Mon Sep 17 00:00:00 2001 From: Amir Mohammadi <183.amir@gmail.com> Date: Mon, 3 Apr 2017 14:36:04 +0200 Subject: [PATCH] Fix documentation of annotations method --- bob/bio/base/database/database.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bob/bio/base/database/database.py b/bob/bio/base/database/database.py index c437ff16..01ec1090 100644 --- a/bob/bio/base/database/database.py +++ b/bob/bio/base/database/database.py @@ -331,7 +331,8 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.Database)): def annotations(self, file): """ Returns the annotations for the given File object, if available. - It uses `bob.db.base.read_annotation_file` to load the annotations. + You need to override this method in your high-level implementation. + If your database does not have annotations, it should return ``None``. **Parameters:** -- GitLab