Skip to content

Commit

Permalink
Merge pull request #42 from molgenis/chore/bump-utils_
Browse files Browse the repository at this point in the history
Bump version to 1.8.0 and vip-utils to 1.4.6
  • Loading branch information
bartcharbon authored Jan 12, 2024
2 parents a4331ff + 55fe8e6 commit aca0a73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@molgenis/vip-report-vcf",
"version": "1.7.0",
"version": "1.8.0",
"description": "TypeScript VCF library with support for both reading and writing",
"scripts": {
"preinstall": "curl --no-progress-meter --location https://github.com/molgenis/vip-utils/releases/download/v1.4.5/field_metadata.json --create-dirs --output src/metadata/field_metadata.json",
"preinstall": "curl --no-progress-meter --location https://github.com/molgenis/vip-utils/releases/download/v1.4.6/field_metadata.json --create-dirs --output src/metadata/field_metadata.json",
"build": "tsc --build",
"format": "prettier --write src/**/*.ts",
"lint": "eslint src/**/*.ts",
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/MetadataParser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ test("parse format metadata", () => {

test("parse format metadata from json", () => {
const token =
'##FORMAT=<ID=VI,Number=.,Type=String,Description="An enumeration of possible inheritance modes based on the pedigree of the sample. Potential values: AD, AD_IP, AR, AR_C, XLR, XLD">';
'##FORMAT=<ID=VI,Number=.,Type=String,Description="An enumeration of possible inheritance modes based on the pedigree of the sample. Potential values: AD, AD_IP, AR, AR_C, XLR, XLD, YL, MT">';
expect(parseFormatMetadata(token)).toStrictEqual({
id: "VI",
number: { type: "OTHER", count: undefined, separator: "," },
type: "CATEGORICAL",
categories: ["AD", "AD_IP", "AR", "AR_C", "XLD", "XLR"],
categories: ["AD", "AD_IP", "AR", "AR_C", "XLD", "XLR", "YL", "MT"],
label: "Inheritance",
description:
"An enumeration of possible inheritance modes based on the pedigree of the sample. Potential values: AD, AD_IP, AR, AR_C, XLR, XLD",
"An enumeration of possible inheritance modes based on the pedigree of the sample. Potential values: AD, AD_IP, AR, AR_C, XLR, XLD, YL, MT",
});
});

Expand Down

0 comments on commit aca0a73

Please sign in to comment.