From b1c364e56d0506b21fce33e94eff73ad189c46a1 Mon Sep 17 00:00:00 2001 From: Dennis Hendriksen Date: Thu, 23 Jun 2022 14:36:25 +0200 Subject: [PATCH] fix:clinVar metadata --- src/VepMetadataParser.ts | 3 +-- src/__tests__/VepMetadataParser.test.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/VepMetadataParser.ts b/src/VepMetadataParser.ts index 6cb26cd..4b4e6b9 100644 --- a/src/VepMetadataParser.ts +++ b/src/VepMetadataParser.ts @@ -65,8 +65,7 @@ function parseVepInfoMetadata(infoMetadata: InfoMetadata, token: string): InfoMe case "clinVar": label = "ClinVar ID"; description = "ClinVar Variation ID"; - numberType = "NUMBER"; - numberCount = 1; + numberType = "OTHER"; type = "INTEGER"; break; case "clinVar_CLNSIG": diff --git a/src/__tests__/VepMetadataParser.test.ts b/src/__tests__/VepMetadataParser.test.ts index 1ffa5ac..ec73728 100644 --- a/src/__tests__/VepMetadataParser.test.ts +++ b/src/__tests__/VepMetadataParser.test.ts @@ -114,7 +114,7 @@ test("create vep metadata", () => { }, { id: "clinVar", - number: { type: "NUMBER", count: 1 }, + number: { type: "OTHER" }, type: "INTEGER", parent: { id: "CSQ",