iscoe / dragonfly

NER annotation tool
Apache License 2.0
9 stars 3 forks source link

.anno files duplicated in wrong place #45

Closed jamesmayfield closed 5 years ago

jamesmayfield commented 5 years ago

On completion of a set I found more .anno files than there were source files. Two .anno files were duplicated from a set I had previously been annotating. The files were identical. I'm not sure how to reproduce the problem, but it has something to do with leaving the Web interface open while shutting down the server and restarting it on a different data set.

cash commented 5 years ago

If you have auto save on and have multiple tabs open with dragonfly and restart the server on a different dataset, the tabs will keep trying to auto save to the new dragonfly instance. The fix would be confirming a doc_id belongs to the set that is being saved.