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

Issue with writing annotations to dataset #476

Open
williamhollingshead opened this issue Jan 22, 2025 · 1 comment
Open

Issue with writing annotations to dataset #476

williamhollingshead opened this issue Jan 22, 2025 · 1 comment
Assignees
Labels

Comments

@williamhollingshead
Copy link

I've created an annotation field in the data explorer (a check-box item), and when I attempt to write the annotation field to the dataset, no additional dataset is created. Additionally, when viewing the dataset in preview, the annotation field does not appear. When I download the .csv file of the dataset after running the 'write annotation' processor, the field appears as a separate column at the end of the dataset, but the column is devoid of data. When I download the dataset as an .ndjson file, and view it in Notepad, the dataset includes both the annotation field, and data written, however some data points are missing the assigned annotations. Is there any workaround for this issue?

For context, I am operating 4Cat on a local device, and it is updated to v1.46. The operating system is Windows 10 Home. I have Docker running as well. I've made the dataset public, and included a link here: http://localhost/results/1cff89f2502cfe251e6de0ce7b2a4e99/.

This is log file received for the 'write annotations' processor. Everything would suggest that it is working.

Wed Jan 22 15:35:29 2025: Processing 'Write annotations' started for dataset 5e92dd5bd79d7b70f8521d3db771894f
Wed Jan 22 15:35:29 2025: Processing data
Wed Jan 22 15:35:31 2025: Adding new field annotation_Contains xenophobia? to the source file
Wed Jan 22 15:35:32 2025: Parent dataset updated.
Wed Jan 22 15:35:32 2025: Annotations written to parent dataset.
Wed Jan 22 15:35:32 2025: Dataset completed.

@sal-uva
Copy link
Collaborator

sal-uva commented Jan 22, 2025

Thanks for the comment. We've fixed this issue in a new branch #428 which we can hopefully merge in the coming days. Stay tuned!

@sal-uva sal-uva self-assigned this Jan 22, 2025
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