Commit c42148b1 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Don't call database.annotations when annotating

parent 69f9fef2
......@@ -80,7 +80,7 @@ def annotate(database, annotator, output_dir, force, jobs, **kwargs):
continue
data = annotator.read_original_data(
biofile, database.original_directory, database.original_extension)
annot = annotator(data, annotations=database.annotations(biofile))
annot = annotator(data)
create_directories_safe(dirname(outpath))
with open(outpath, 'w') as f:
json.dump(annot, f, indent=1, allow_nan=False)
Supports Markdown
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