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

Rake task to update new fields for existing batches #1958

Merged
merged 2 commits into from
Jul 7, 2023

Conversation

leandroradusky
Copy link
Contributor

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.

Copy link
Contributor

@ysbaddaden ysbaddaden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we don't need to commit the actual CSV file, but then we'd still need to share it somewhere for @matiasgarciaisaia to be able to apply it on radx servers..?

@leandroradusky
Copy link
Contributor Author

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

batches_label_data.csv

@leandroradusky leandroradusky merged commit 71a240b into main Jul 7, 2023
6 checks passed
@leandroradusky leandroradusky deleted the 1922-update-new-fields-for-existing-batches branch July 7, 2023 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update new fields for the existing batches
2 participants