@molgenis/vip-report-template 7.0.6 → 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.gitattributes CHANGED
@@ -1 +1,4 @@
1
- *.* text eol=lf
1
+ *.* text eol=lf
2
+ *.cram.blob binary
3
+ *.cram.crai.blob binary
4
+ *.gz.blob binary
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molgenis/vip-report-template",
3
- "version": "7.0.6",
3
+ "version": "7.1.1",
4
4
  "description": "Report Template for Variant Call Format (VCF) Report Generator",
5
5
  "license": "LGPL-3.0",
6
6
  "devDependencies": {
@@ -26,8 +26,8 @@
26
26
  "dependencies": {
27
27
  "@fortawesome/fontawesome-svg-core": "^6.7.1",
28
28
  "@fortawesome/free-solid-svg-icons": "^6.7.1",
29
- "@molgenis/vip-report-api": "^6.2.1",
30
- "@molgenis/vip-report-vcf": "^3.0.8",
29
+ "@molgenis/vip-report-api": "^6.2.2",
30
+ "@molgenis/vip-report-vcf": "^3.1.0",
31
31
  "@solidjs/router": "^0.15.1",
32
32
  "ajv": "^8.17.1",
33
33
  "base64-js": "^1.5.1",
@@ -7,7 +7,7 @@ import strCraiUrl from "./str.cram.crai.blob";
7
7
  import fastaUrl_chr1_9982230_9982730 from "./fasta/chr1-9982230-9982730.fasta.gz.blob";
8
8
  import fastaUrl_chr1_16049667_16050167 from "./fasta/chr1-16049667-16050167.fasta.gz.blob";
9
9
  import fastaUrl_chr1_17022474_17022974 from "./fasta/chr1-17022474-17022974.fasta.gz.blob";
10
- import fastaUrl_chr1_149380406_149403321 from "./fasta/chr1_149380406-149403321.fasta.gz.blob";
10
+ import fastaUrl_chr1_149380406_149403321 from "./fasta/chr1-149380406-149403321.fasta.gz.blob";
11
11
  import fastaUrl_chr1_152548062_152548562 from "./fasta/chr1-152548062-152548562.fasta.gz.blob";
12
12
  import fastaUrl_chr2_47408278_47408778 from "./fasta/chr2-47408278-47408778.fasta.gz.blob";
13
13
  import fastaUrl_chr4_105398887_105399387 from "./fasta/chr4-105398887-105399387.fasta.gz.blob";
Binary file
@@ -197,7 +197,7 @@ function createQueryFilterInheritanceMatch(
197
197
  });
198
198
  queryParts.push(createQueryComposed(queryPartsUndefined, "or"));
199
199
  }
200
- return createQueryComposed(queryParts, "and");
200
+ return createQueryComposed(queryParts, "or");
201
201
  }
202
202
 
203
203
  function createQueryFilterDeNovo(filter: ConfigFilterDeNovo, filterValue: FilterValueDeNovo): Query {
@@ -234,6 +234,25 @@ describe("query composed filters", () => {
234
234
  operator: "or",
235
235
  });
236
236
  });
237
+
238
+ test("match and potential", () => {
239
+ expect(createQueryFilterComposed(config, ["true","potential"])).toStrictEqual(
240
+ {
241
+ args: [{
242
+ selector: ["s", 1, "VIM"],
243
+ operator: "==",
244
+ args: 1,
245
+ },
246
+ {
247
+ args: [
248
+ { selector: ["s", 1, "VIM"], operator: "==", args: null },
249
+ { selector: ["s", 1, "VIM"], operator: "==", args: undefined },
250
+ ],
251
+ operator: "or",
252
+ }],
253
+ operator: "or",
254
+ });
255
+ });
237
256
  });
238
257
 
239
258
  describe("deNovo", () => {