Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotation duplication issue in exports #209

Open
gtsueng opened this issue Jan 11, 2017 · 2 comments
Open

Annotation duplication issue in exports #209

gtsueng opened this issue Jan 11, 2017 · 2 comments
Labels

Comments

@gtsueng
Copy link
Collaborator

gtsueng commented Jan 11, 2017

Maybe it's the way the annotations are being queried or merged but it looks like the export files have duplicate annotations.

Example from group 26 in tabular format:
duplicate anns03

From original xml dump:
duplicate anns01
In above, the annotation ids appear to change, but it looks to be the same annotation from the same user.
Another example:
duplicate anns02

@gtsueng gtsueng added the bug label Jan 11, 2017
@JTFouquier
Copy link
Collaborator

@gtsueng, it looks like the actual duplicates are stored in the database as you can see from one view but same annotation stored many times... same start, text, view and user. Here is the code I used to check in the shell--I didn't use any code related to the exports. I am directly taking this data from the DB, so unfortunately I think it's related to the db, not the exports.

screen shot 2017-02-27 at 3 55 41 pm

screen shot 2017-02-27 at 3 55 51 pm

@gtsueng
Copy link
Collaborator Author

gtsueng commented Apr 3, 2017

Based on what I've seen, this bug is still adding duplicate annotations to our db. Fortunately, the duplicate annotations are only 0.12% of anns in the db.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants