nci-hcmi-catalog / portal

HCMI Searchable Catalog Portal
https://hcmi-searchable-catalog.nci.nih.gov/
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

🗃️ Migrations to Fix "DNA Methylation Array" Terminology Regression (#1063) #1064

Closed mistryrn closed 8 months ago

mistryrn commented 8 months ago

The "DNA Methylation Array" molecular characterization terminology regressed again! This time, with Eva's help, we were able to identify the root cause as the Data Dictionary publishing a Draft containing the outdated values. Previously, the migrations had only updated the models and the dictionary. This time we'll update the dictionaryDraft as well, eliminating any traces of the old terminology for good.

Commits

🗃️ Migrations to Fix "DNA Methylation Array" Terminology Regression (#1063)

🚨 DEPLOY INSTRUCTIONS 🚨

  1. Deploy the new tag through Jenkins
  2. Run the 20240109040115-update-models-dna-methylation.js, 20240109040219-update-dictionary-dna-methylation.js, and 20240109040313-update-dictionaryDraft-dna-methylation.js migrations:
    cd cms/variant-migrations
    ./../node_modules/.bin/migrate-mongo up -f migrate-mongo-config.js
  3. Restart the cms service
  4. Run the republish script
    ENV={env} npm run republish