@teselagen/ove 0.7.17 → 0.7.18

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/index.cjs.js CHANGED
@@ -121497,6 +121497,9 @@ function Chromatogram(props) {
121497
121497
  canvasRef
121498
121498
  ]);
121499
121499
  const marginLeft = gapsBeforeRow * charWidth2;
121500
+ if (chromatogramData.basePos && !chromatogramData.baseTraces) {
121501
+ throw new Error('Chromatogram data is missing "baseTraces". Be sure to call the convertBasePosTraceToPerBpTrace(_chromData) before passing it to the editor');
121502
+ }
121500
121503
  return /* @__PURE__ */ React$3.createElement(
121501
121504
  "div",
121502
121505
  {
@@ -123044,7 +123047,7 @@ function showFileDialog({ multiple = false, onSelect }) {
123044
123047
  }
123045
123048
  __name(showFileDialog, "showFileDialog");
123046
123049
  const name = "@teselagen/ove";
123047
- const version = "0.7.16";
123050
+ const version = "0.7.17";
123048
123051
  const main = "./src/index.js";
123049
123052
  const type = "module";
123050
123053
  const exports$1 = {
package/index.es.js CHANGED
@@ -121479,6 +121479,9 @@ function Chromatogram(props) {
121479
121479
  canvasRef
121480
121480
  ]);
121481
121481
  const marginLeft = gapsBeforeRow * charWidth2;
121482
+ if (chromatogramData.basePos && !chromatogramData.baseTraces) {
121483
+ throw new Error('Chromatogram data is missing "baseTraces". Be sure to call the convertBasePosTraceToPerBpTrace(_chromData) before passing it to the editor');
121484
+ }
121482
121485
  return /* @__PURE__ */ React__default$1.createElement(
121483
121486
  "div",
121484
121487
  {
@@ -123026,7 +123029,7 @@ function showFileDialog({ multiple = false, onSelect }) {
123026
123029
  }
123027
123030
  __name(showFileDialog, "showFileDialog");
123028
123031
  const name = "@teselagen/ove";
123029
- const version = "0.7.16";
123032
+ const version = "0.7.17";
123030
123033
  const main = "./src/index.js";
123031
123034
  const type = "module";
123032
123035
  const exports$1 = {
package/index.umd.js CHANGED
@@ -149374,6 +149374,9 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
149374
149374
  canvasRef
149375
149375
  ]);
149376
149376
  const marginLeft2 = gapsBeforeRow * charWidth2;
149377
+ if (chromatogramData.basePos && !chromatogramData.baseTraces) {
149378
+ throw new Error('Chromatogram data is missing "baseTraces". Be sure to call the convertBasePosTraceToPerBpTrace(_chromData) before passing it to the editor');
149379
+ }
149377
149380
  return /* @__PURE__ */ React$5.createElement(
149378
149381
  "div",
149379
149382
  {
@@ -150921,7 +150924,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
150921
150924
  }
150922
150925
  __name(showFileDialog, "showFileDialog");
150923
150926
  const name = "@teselagen/ove";
150924
- const version = "0.7.16";
150927
+ const version = "0.7.17";
150925
150928
  const main = "./src/index.js";
150926
150929
  const type = "module";
150927
150930
  const exports$1 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.7.17",
3
+ "version": "0.7.18",
4
4
  "main": "./src/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -52,7 +52,9 @@ export default function Chromatogram(props) {
52
52
  canvasRef
53
53
  ]);
54
54
  const marginLeft = gapsBeforeRow * charWidth;
55
-
55
+ if (chromatogramData.basePos && !chromatogramData.baseTraces) {
56
+ throw new Error('Chromatogram data is missing "baseTraces". Be sure to call the convertBasePosTraceToPerBpTrace(_chromData) before passing it to the editor');
57
+ }
56
58
  return (
57
59
  <div
58
60
  className={classNames("chromatogram", {