@molgenis/vip-report-template 6.0.0 → 6.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molgenis/vip-report-template",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "Report Template for Variant Call Format (VCF) Report Generator",
5
5
  "scripts": {
6
6
  "build": "vite build",
@@ -66,14 +66,12 @@ export const FilterVariantType: Component<
66
66
  };
67
67
 
68
68
  if (props.query !== undefined && props.query.args.length > 0) {
69
- console.log(props.query);
70
- const query: Query = props.query.args[0] as Query;
71
- (query.args as Query[]).forEach((childQuery) => {
72
- if (childQuery.operator == "and") {
69
+ (props.query.args as Query[]).forEach((childQuery) => {
70
+ if (childQuery.operator == "or") {
73
71
  group["SNV"] = true;
74
72
  snvChecked = true;
75
73
  }
76
- if (childQuery.operator == "or") {
74
+ if (childQuery.operator == "and") {
77
75
  group["SV"] = true;
78
76
  svChecked = true;
79
77
  }
@@ -196,7 +196,7 @@ export const SampleVariants: Component<{
196
196
  {
197
197
  selector: selectorVi,
198
198
  operator: "has_any",
199
- args: ["AD", "AR", "AR_C", "XLD", "XLR"],
199
+ args: ["AD", "AR", "AR_C", "XLD", "XLR", "YL", "MT"],
200
200
  },
201
201
  selectorKey(selectorVi),
202
202
  );