@teselagen/ove 0.7.16 → 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/html2canvas.esm-BabtSl1E.cjs +7848 -0
- package/html2canvas.esm-ClY198IE.js +7848 -0
- package/index.cjs.js +12721 -12210
- package/index.es.js +11007 -10496
- package/index.umd.js +13447 -13679
- package/package.json +4 -3
- package/src/RowItem/Chromatograms/Chromatogram.js +3 -1
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ove",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.18",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"exports": {
|
|
6
7
|
".": {
|
|
7
8
|
"import": "./index.es.js",
|
|
@@ -11,8 +12,8 @@
|
|
|
11
12
|
},
|
|
12
13
|
"dependencies": {
|
|
13
14
|
"@teselagen/sequence-utils": "0.3.27",
|
|
14
|
-
"@teselagen/range-utils": "0.3.
|
|
15
|
-
"@teselagen/ui": "0.7.
|
|
15
|
+
"@teselagen/range-utils": "0.3.10",
|
|
16
|
+
"@teselagen/ui": "0.7.19",
|
|
16
17
|
"@teselagen/file-utils": "0.3.18",
|
|
17
18
|
"@teselagen/bounce-loader": "0.3.11",
|
|
18
19
|
"@teselagen/bio-parsers": "0.4.22",
|
|
@@ -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", {
|