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

Populate 'sample_public_name' column values with 'sanger_sample_id' column values for RVI-prefixed samples #4565

Closed
wants to merge 2 commits into from

Conversation

sabrine33
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.29%. Comparing base (90b2405) to head (ddc7ce2).
Report is 9 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4565      +/-   ##
===========================================
+ Coverage    89.25%   89.29%   +0.03%     
===========================================
  Files         1406     1406              
  Lines        30007    30007              
===========================================
+ Hits         26783    26795      +12     
+ Misses        3224     3212      -12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sabrine33 sabrine33 requested review from BenTopping, StephenHulme and dasunpubudumal and removed request for BenTopping December 17, 2024 14:52
Copy link
Contributor

@StephenHulme StephenHulme left a comment

Choose a reason for hiding this comment

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

I'm not as familiar with the data and linkages, but from a rails point of view this looks fine.

Would you please update the PR title to be more human readable?

@sabrine33 sabrine33 changed the title populating sample_public_name with sanger_sample_id values for RVI Study Populate sample_public_name with sanger_sample_id values for RVI-prefixed samples Dec 17, 2024
@sabrine33
Copy link
Contributor Author

I'm not as familiar with the data and linkages, but from a rails point of view this looks fine.

Would you please update the PR title to be more human readable?

I updated the title, thanks

@sabrine33 sabrine33 changed the title Populate sample_public_name with sanger_sample_id values for RVI-prefixed samples Populate 'sample_public_name' column values with 'sanger_sample_id' column values for RVI-prefixed samples Dec 17, 2024
Copy link
Contributor

@dasunpubudumal dasunpubudumal left a comment

Choose a reason for hiding this comment

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

Do you think that this is more suitable to be a Rake task than a migration?

It does not involve any schema updates, and it only has data updates.

@sabrine33
Copy link
Contributor Author

Do you think that this is more suitable to be a Rake task than a migration?

It does not involve any schema updates, and it only has data updates.

I agree. I initially created it as a Rake task, but later I discovered that the data was being updated/populated through a migration. So, I updated it to follow the convention of doing things.

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.

3 participants