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

Unable to see annotation after accept/reject. #158

Open
akanehira opened this issue Oct 10, 2018 · 0 comments
Open

Unable to see annotation after accept/reject. #158

akanehira opened this issue Oct 10, 2018 · 0 comments

Comments

@akanehira
Copy link

During using BeaverDam to collect data, I faced the problem that the annotation cannot be seen in the browser even though it can be before accept/reject worker's submission.

I finally found the solution:
change data['updated_annotations'] to json.dumps(data['updated_annotations']) in

data['updated_annotations'])

and
data['updated_annotations'])

.

In most cases, the orignal works well, but when the text includes both of " and ', error will occur when parsing annotation such as below.
JSONDecodeError: Expecting property name enclosed in double quotes

We need to make sure make the string is json compatible.

I would appreciate If someone fixes it.

Thanks,

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

No branches or pull requests

1 participant