You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run panoptes_aggregation config on my workflow export file, the Task_labels_workflow_[blah].yaml file is being generated with incorrectly parsed apostrophes in task labels.
For example:
"T0.answers.3.label":"I can't figure this out. " in the "strings" field in my workflows CSV is being rendered in the Task_labels_workflow_[blah].yaml as T0.answers.3.label: 'I can''t figure this out. '
The text was updated successfully, but these errors were encountered:
I think this is a consequence of using yaml.dump to create the YAML file. After looking into it, the double apostrophe is the YAML standard of single quotes inside a string.
Can you point me to a doc on that? I couldn't find anything yesterday. I am using Python's yaml library and yaml.full_load is not correctly parsing that, if that's the case. (I know that this part is not your job, but if you remember what you found that would be really helpful.)
Odd that the built-in YAML package can read in a file that it writes. I will try to do a bit of testing to see if this is a bug on my end or a bug in YAML's end.
When I run
panoptes_aggregation config
on my workflow export file, the Task_labels_workflow_[blah].yaml file is being generated with incorrectly parsed apostrophes in task labels.For example:
"T0.answers.3.label":"I can't figure this out. "
in the "strings" field in my workflows CSV is being rendered in the Task_labels_workflow_[blah].yaml asT0.answers.3.label: 'I can''t figure this out. '
The text was updated successfully, but these errors were encountered: