You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two country_of_origin of options ("not applicable: control sample" and "not applicable: sample group") have been identified and Y24-372 created to change these.
The samples in the Sequencescape and MLWH databases requires updating to reflect the changes
not applicable: control sample => missing: control sample
not applicable: sample group => missing: sample group
The text was updated successfully, but these errors were encountered:
psd-issuerbot
changed the title
Data migration to update sample_metadata country_of_origin
Y24-373 - Data migration to update sample_metadata country_of_origin
Oct 9, 2024
this method will update samples table in SS & MLWH
def update_country_of_origin(old_id,new_id)
ActiveRecord::Base.transaction do
data = Sample::Metadata.where(country_of_origin: old_id)
data.each {|sm| sm.update!(country_of_origin: new_id)}
end
end
Two country_of_origin of options ("not applicable: control sample" and "not applicable: sample group") have been identified and Y24-372 created to change these.
The samples in the Sequencescape and MLWH databases requires updating to reflect the changes
not applicable: control sample => missing: control sample
not applicable: sample group => missing: sample group
The text was updated successfully, but these errors were encountered: