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

Annotator "star" feature does not work properly #127

Open
KonstantinHebenstreit opened this issue Mar 28, 2023 · 0 comments
Open

Annotator "star" feature does not work properly #127

KonstantinHebenstreit opened this issue Mar 28, 2023 · 0 comments

Comments

@KonstantinHebenstreit
Copy link
Collaborator

The feature with the star (key: "preferred") does not really work . (The primary I think the primary problem is, that it saves values as bool, when the have to be saved as string. Apart from the minor problem that you cannot "unclick" a star, if you clicked it)

The error is that you cannot load the data back into ThoughtSource (the "normal" cot lib we always use) after annotating it.

If you already have that problem here is the quick fix:
You can replace the values in the json before loading it in ThoughtSource:
replace
"value": false
by
"value": "false"
and
"value": true
by
"value": "true"

Then you can load it. The annotator can afterwards still read the file too, but the star annotation is not shown.

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