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.face
Commits
c42148b1
Commit
c42148b1
authored
Jan 28, 2018
by
Amir MOHAMMADI
Browse files
Don't call database.annotations when annotating
parent
69f9fef2
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/script/annotate.py
View file @
c42148b1
...
...
@@ -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
)
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