zooniverse / panoptes-cli

A command-line interface for Panoptes
Apache License 2.0
18 stars 5 forks source link

A manifest with %header headers doesn't create an indexed subject set #256

Closed eatyourgreens closed 3 months ago

eatyourgreens commented 11 months ago

https://github.com/zooniverse/panoptes-cli/blob/dc10c2658ffaf1786b3800734188e2ea2dc526ed/panoptes_cli/commands/subject_set.py#L317-L326

A CSV manifest with headers in the form %author,%title,%year,priority should create a subject set with metadata.indexFields set to author,title,year.

Instead, subjects are uploaded with the % characters correctly stripped from metadata headings, but subject_set.metadata.indexFields isn't created in Panoptes.