@molgenis/vip-report-template 5.1.5 → 5.1.6

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": "5.1.5",
3
+ "version": "5.1.6",
4
4
  "description": "Report Template for Variant Call Format (VCF) Report Generator",
5
5
  "scripts": {
6
6
  "build": "vite build",
@@ -71,7 +71,7 @@ export const FilterAllelicBalance: Component<{
71
71
  return (
72
72
  <div class="control">
73
73
  <Checkbox
74
- desc="Filter variants with allelic imbalance; For hetrozygote calls: AB < 0.2 or AB > 0.8 and for homozygote calls: AB > 0.02 are consided allelic imbalance"
74
+ desc="Filter variants with allelic imbalance; For hetrozygote calls: AB < 0.2 or AB > 0.8 and for homozygote calls: AB > 0.02 are considered allelic imbalance"
75
75
  label="No allelic imbalance"
76
76
  checked={props.query && props.query.args !== undefined}
77
77
  onChange={onFilterChange}
@@ -137,7 +137,7 @@ export const SampleVariants: Component<{
137
137
  if (viabField) {
138
138
  actions.setSampleVariantsFilterQuery(
139
139
  props.sample,
140
- getAllelicBalanceQuery(props.sample.id),
140
+ getAllelicBalanceQuery(props.sample.data.index),
141
141
  selectorKey(["s", props.sample.data.index, ...selector(viabField)])
142
142
  );
143
143
  }
package/vite.config.ts CHANGED
@@ -4,6 +4,10 @@ import inlinePlugin from "@molgenis/vite-plugin-inline/src/vite-plugin-inline.js
4
4
 
5
5
  export default defineConfig({
6
6
  plugins: [solidPlugin(), inlinePlugin()],
7
+ esbuild: {
8
+ // @molgenis/vite-plugin-inline requires ascii input and cannot handle UTF-8 input
9
+ charset: "ascii",
10
+ },
7
11
  build: {
8
12
  polyfillDynamicImport: false,
9
13
  // inline plugin build options