instedd / cdx

Connected Diagnostics Platform
https://cdx.io
9 stars 7 forks source link

Rake task to update new fields for existing batches #1958

Closed leandroradusky closed 1 year ago

leandroradusky commented 1 year ago

Close #1922.

Created a new rake task to update the new fields (reference_gene, target_organism_taxonomy_id, pango_lineage, who_label) in Batches. This columns have to exist as headers into the csv file and also the batch_number column.

The file provided by the client was added into the public/ folder. It will update only existing batches. Tested locally and appears to work correctly.

leandroradusky commented 1 year ago

Letting the final file here to don't lose it in the eter.

batches_label_data.csv