panoptes icon indicating copy to clipboard operation
panoptes copied to clipboard

Classification export CSV - process drawing subtasks similar to if individual task

Open mcbouslog opened this issue 6 years ago • 8 comments

In the classification export CSV individual task annotations appear as follows (note *labels):

  • question task: {"task":"T2","task_label":"Individual question task","value":"Answer2"}
  • text task: {"task":"T3","value":"testing individual text task 2","task_label":"Individual text task"}
  • dropdown task: {"task":"T0","value":[{"select_label":"Individual Dropdown","option":true,"value":"c6f1890c69ab9","label":"feline"}]}

A drawing task with sub-tasks annotation is:

{
	"task": "T1",
	"task_label": "Explain what to draw.",
	"value": [{
		"x": 214.140625,
		"y": 257.04296875,
		"tool": 0,
		"frame": 0,
		"details": [{
			"value": 1
		}, {
			"value": "testing sub-task text 2"
		}, {
			"value": [{
				"value": "0806ccfc6feae",
				"option": true
			}]
		}],
		"tool_label": "Tool With Sub-tasks"
	}]
}

Highlighting the drawing sub-tasks (details property):

  • question sub-task: {"value":1}
  • text sub-task: {"value":"testing sub-task text 2"}
  • dropdown sub-task: {"value":[{"value":"0806ccfc6feae","option":true}]}

Could we run the drawing sub-task annotations (details) through the same processing they would get if they were individual task annotations?

mcbouslog avatar Nov 16 '18 20:11 mcbouslog