From d4be31ee49d443d2671cc4a460ea38af52e7b90d Mon Sep 17 00:00:00 2001 From: Jawad Date: Wed, 18 Nov 2026 09:29:54 -0600 Subject: [PATCH] fix(qa-mc2dp): add disease_type/primary_site to aggMDS GDC adapter mapping GDCAdapter builds each study description from the mapped disease_type and primary_site fields, so the mapping added in #573 crashed with KeyError: 'disease_type' and MDS left the existing indexes (VPODC data) in place. With the two fields mapped the adapter returns the 2 APOLLO projects, which lets populate.py swap the indexes and drop the old data. .secrets.baseline regenerated by the detect-secrets pre-commit hook. Claude-Session: https://claude.ai/code/session_019WtPvAbe8JKDofTACKqa7D --- .secrets.baseline | 25 +------------------ .../qa-mc2dp-helm/values/values.yaml | 2 ++ 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/.secrets.baseline b/.secrets.baseline index 5d31234e..1482894c 100644 --- a/.secrets.baseline +++ b/.secrets.baseline @@ -655,29 +655,6 @@ "line_number": 1133 } ], - "devplanetv2/dev-environments/qa-mc2dp-helm/values/values.yaml": [ - { - "type": "Secret Keyword", - "filename": "devplanetv2/dev-environments/qa-mc2dp-helm/values/values.yaml", - "hashed_secret": "1d751f23f0557dd1daf0c8d87bec7693a213f397", - "is_verified": false, - "line_number": 751 - }, - { - "type": "Secret Keyword", - "filename": "devplanetv2/dev-environments/qa-mc2dp-helm/values/values.yaml", - "hashed_secret": "c7c78012f4993fdc2142b0e7251f557c4e24ca01", - "is_verified": false, - "line_number": 758 - }, - { - "type": "Secret Keyword", - "filename": "devplanetv2/dev-environments/qa-mc2dp-helm/values/values.yaml", - "hashed_secret": "84bc25233d003b8efdd2f8a2b67a4d942c0b63bf", - "is_verified": false, - "line_number": 761 - } - ], "devplanetv2/dev-environments/qa-midrc-helm/values/values.yaml": [ { "type": "Secret Keyword", @@ -997,5 +974,5 @@ } ] }, - "generated_at": "2026-11-17T15:36:45Z" + "generated_at": "2026-11-18T15:29:38Z" } diff --git a/devplanetv2/dev-environments/qa-mc2dp-helm/values/values.yaml b/devplanetv2/dev-environments/qa-mc2dp-helm/values/values.yaml index 4a4b52d7..4ebc146a 100644 --- a/devplanetv2/dev-environments/qa-mc2dp-helm/values/values.yaml +++ b/devplanetv2/dev-environments/qa-mc2dp-helm/values/values.yaml @@ -562,6 +562,8 @@ metadata: } ], "_unique_id": "path:id", + "disease_type": "path:disease_type", + "primary_site": "path:primary_site", "commons": "GDC", "subject_id_list": "path:case_id", "subject_metastasis": "path:diagnoses.metastasis_at_diagnosis",