@teselagen/ove 0.8.12 → 0.8.14
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 +14 -8
- package/index.es.js +14 -8
- package/index.umd.js +14 -8
- package/package.json +2 -2
- package/src/AlignmentView/index.js +2 -3
- package/src/redux/restrictionEnzymes.js +0 -11
package/index.cjs.js
CHANGED
|
@@ -56614,10 +56614,7 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
|
|
|
56614
56614
|
});
|
|
56615
56615
|
}
|
|
56616
56616
|
const __schema = useDeepEqualMemo(_schema);
|
|
56617
|
-
const convertedSchema = React.useMemo(
|
|
56618
|
-
() => convertSchema(__schema),
|
|
56619
|
-
[__schema]
|
|
56620
|
-
);
|
|
56617
|
+
const convertedSchema = React.useMemo(() => convertSchema(__schema), [__schema]);
|
|
56621
56618
|
if (isLocalCall) {
|
|
56622
56619
|
if (!noForm && (!formName || formName === "tgDataTable")) {
|
|
56623
56620
|
throw new Error(
|
|
@@ -84842,7 +84839,9 @@ function validateSequence(sequence2, options = {}) {
|
|
|
84842
84839
|
if (!sequence2[type2]) {
|
|
84843
84840
|
sequence2[type2] = [];
|
|
84844
84841
|
}
|
|
84845
|
-
|
|
84842
|
+
if (type2 !== "parts") {
|
|
84843
|
+
feature.type = type2.slice(0, -1);
|
|
84844
|
+
}
|
|
84846
84845
|
delete feature.notes.pragma;
|
|
84847
84846
|
sequence2[type2].push(feature);
|
|
84848
84847
|
return false;
|
|
@@ -85561,6 +85560,11 @@ function genbankToJson(string2, options = {}) {
|
|
|
85561
85560
|
feat.arrowheadType = feat.notes.direction[0].toUpperCase() === "BOTH" ? "BOTH" : feat.notes.direction[0].toUpperCase() === "NONE" ? "NONE" : void 0;
|
|
85562
85561
|
delete feat.notes.direction;
|
|
85563
85562
|
}
|
|
85563
|
+
if (feat.locations && feat.locations.length > 1 && feat.locations[0].start > feat.locations[feat.locations.length - 1].end) {
|
|
85564
|
+
if (parsedSequence.circular === void 0) {
|
|
85565
|
+
parsedSequence.circular = true;
|
|
85566
|
+
}
|
|
85567
|
+
}
|
|
85564
85568
|
if (parsedSequence.circular) {
|
|
85565
85569
|
const { inclusive1BasedStart: inclusive1BasedStart2, inclusive1BasedEnd: inclusive1BasedEnd2 } = options2;
|
|
85566
85570
|
feat.locations = wrapOriginSpanningFeatures(
|
|
@@ -85569,6 +85573,8 @@ function genbankToJson(string2, options = {}) {
|
|
|
85569
85573
|
inclusive1BasedStart2,
|
|
85570
85574
|
inclusive1BasedEnd2
|
|
85571
85575
|
);
|
|
85576
|
+
} else if (feat.locations && feat.locations.length > 1) {
|
|
85577
|
+
feat.locations.sort((a2, b3) => a2.start - b3.start);
|
|
85572
85578
|
}
|
|
85573
85579
|
return feat;
|
|
85574
85580
|
}
|
|
@@ -116634,7 +116640,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
116634
116640
|
input.click();
|
|
116635
116641
|
}
|
|
116636
116642
|
__name(showFileDialog, "showFileDialog");
|
|
116637
|
-
const version = "0.8.
|
|
116643
|
+
const version = "0.8.13";
|
|
116638
116644
|
const packageJson = {
|
|
116639
116645
|
version
|
|
116640
116646
|
};
|
|
@@ -140116,10 +140122,10 @@ const AlignmentView$1 = compose(
|
|
|
140116
140122
|
togglableAlignmentAnnotationSettings[annotation] = alignmentAnnotationVisibility[annotation];
|
|
140117
140123
|
}
|
|
140118
140124
|
});
|
|
140119
|
-
const tracks = parseTracks(alignmentTracks);
|
|
140120
|
-
const labileSites = getLabileSites(tracks, 0.5);
|
|
140121
140125
|
const annotationsWithCounts = [];
|
|
140122
140126
|
if (alignmentTracks) {
|
|
140127
|
+
const tracks = parseTracks(alignmentTracks);
|
|
140128
|
+
const labileSites = getLabileSites(tracks, 0.5);
|
|
140123
140129
|
let totalNumOfFeatures = 0;
|
|
140124
140130
|
let totalNumOfParts = 0;
|
|
140125
140131
|
alignmentTracks.forEach((seq) => {
|
package/index.es.js
CHANGED
|
@@ -56596,10 +56596,7 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
|
|
|
56596
56596
|
});
|
|
56597
56597
|
}
|
|
56598
56598
|
const __schema = useDeepEqualMemo(_schema);
|
|
56599
|
-
const convertedSchema = useMemo$1(
|
|
56600
|
-
() => convertSchema(__schema),
|
|
56601
|
-
[__schema]
|
|
56602
|
-
);
|
|
56599
|
+
const convertedSchema = useMemo$1(() => convertSchema(__schema), [__schema]);
|
|
56603
56600
|
if (isLocalCall) {
|
|
56604
56601
|
if (!noForm && (!formName || formName === "tgDataTable")) {
|
|
56605
56602
|
throw new Error(
|
|
@@ -84824,7 +84821,9 @@ function validateSequence(sequence2, options = {}) {
|
|
|
84824
84821
|
if (!sequence2[type2]) {
|
|
84825
84822
|
sequence2[type2] = [];
|
|
84826
84823
|
}
|
|
84827
|
-
|
|
84824
|
+
if (type2 !== "parts") {
|
|
84825
|
+
feature.type = type2.slice(0, -1);
|
|
84826
|
+
}
|
|
84828
84827
|
delete feature.notes.pragma;
|
|
84829
84828
|
sequence2[type2].push(feature);
|
|
84830
84829
|
return false;
|
|
@@ -85543,6 +85542,11 @@ function genbankToJson(string2, options = {}) {
|
|
|
85543
85542
|
feat.arrowheadType = feat.notes.direction[0].toUpperCase() === "BOTH" ? "BOTH" : feat.notes.direction[0].toUpperCase() === "NONE" ? "NONE" : void 0;
|
|
85544
85543
|
delete feat.notes.direction;
|
|
85545
85544
|
}
|
|
85545
|
+
if (feat.locations && feat.locations.length > 1 && feat.locations[0].start > feat.locations[feat.locations.length - 1].end) {
|
|
85546
|
+
if (parsedSequence.circular === void 0) {
|
|
85547
|
+
parsedSequence.circular = true;
|
|
85548
|
+
}
|
|
85549
|
+
}
|
|
85546
85550
|
if (parsedSequence.circular) {
|
|
85547
85551
|
const { inclusive1BasedStart: inclusive1BasedStart2, inclusive1BasedEnd: inclusive1BasedEnd2 } = options2;
|
|
85548
85552
|
feat.locations = wrapOriginSpanningFeatures(
|
|
@@ -85551,6 +85555,8 @@ function genbankToJson(string2, options = {}) {
|
|
|
85551
85555
|
inclusive1BasedStart2,
|
|
85552
85556
|
inclusive1BasedEnd2
|
|
85553
85557
|
);
|
|
85558
|
+
} else if (feat.locations && feat.locations.length > 1) {
|
|
85559
|
+
feat.locations.sort((a2, b3) => a2.start - b3.start);
|
|
85554
85560
|
}
|
|
85555
85561
|
return feat;
|
|
85556
85562
|
}
|
|
@@ -116616,7 +116622,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
116616
116622
|
input.click();
|
|
116617
116623
|
}
|
|
116618
116624
|
__name(showFileDialog, "showFileDialog");
|
|
116619
|
-
const version = "0.8.
|
|
116625
|
+
const version = "0.8.13";
|
|
116620
116626
|
const packageJson = {
|
|
116621
116627
|
version
|
|
116622
116628
|
};
|
|
@@ -140098,10 +140104,10 @@ const AlignmentView$1 = compose(
|
|
|
140098
140104
|
togglableAlignmentAnnotationSettings[annotation] = alignmentAnnotationVisibility[annotation];
|
|
140099
140105
|
}
|
|
140100
140106
|
});
|
|
140101
|
-
const tracks = parseTracks(alignmentTracks);
|
|
140102
|
-
const labileSites = getLabileSites(tracks, 0.5);
|
|
140103
140107
|
const annotationsWithCounts = [];
|
|
140104
140108
|
if (alignmentTracks) {
|
|
140109
|
+
const tracks = parseTracks(alignmentTracks);
|
|
140110
|
+
const labileSites = getLabileSites(tracks, 0.5);
|
|
140105
140111
|
let totalNumOfFeatures = 0;
|
|
140106
140112
|
let totalNumOfParts = 0;
|
|
140107
140113
|
alignmentTracks.forEach((seq) => {
|
package/index.umd.js
CHANGED
|
@@ -85645,10 +85645,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
85645
85645
|
});
|
|
85646
85646
|
}
|
|
85647
85647
|
const __schema = useDeepEqualMemo(_schema);
|
|
85648
|
-
const convertedSchema = reactExports.useMemo(
|
|
85649
|
-
() => convertSchema(__schema),
|
|
85650
|
-
[__schema]
|
|
85651
|
-
);
|
|
85648
|
+
const convertedSchema = reactExports.useMemo(() => convertSchema(__schema), [__schema]);
|
|
85652
85649
|
if (isLocalCall) {
|
|
85653
85650
|
if (!noForm && (!formName || formName === "tgDataTable")) {
|
|
85654
85651
|
throw new Error(
|
|
@@ -113745,7 +113742,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
113745
113742
|
if (!sequence2[type2]) {
|
|
113746
113743
|
sequence2[type2] = [];
|
|
113747
113744
|
}
|
|
113748
|
-
|
|
113745
|
+
if (type2 !== "parts") {
|
|
113746
|
+
feature.type = type2.slice(0, -1);
|
|
113747
|
+
}
|
|
113749
113748
|
delete feature.notes.pragma;
|
|
113750
113749
|
sequence2[type2].push(feature);
|
|
113751
113750
|
return false;
|
|
@@ -114464,6 +114463,11 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
114464
114463
|
feat.arrowheadType = feat.notes.direction[0].toUpperCase() === "BOTH" ? "BOTH" : feat.notes.direction[0].toUpperCase() === "NONE" ? "NONE" : void 0;
|
|
114465
114464
|
delete feat.notes.direction;
|
|
114466
114465
|
}
|
|
114466
|
+
if (feat.locations && feat.locations.length > 1 && feat.locations[0].start > feat.locations[feat.locations.length - 1].end) {
|
|
114467
|
+
if (parsedSequence.circular === void 0) {
|
|
114468
|
+
parsedSequence.circular = true;
|
|
114469
|
+
}
|
|
114470
|
+
}
|
|
114467
114471
|
if (parsedSequence.circular) {
|
|
114468
114472
|
const { inclusive1BasedStart: inclusive1BasedStart2, inclusive1BasedEnd: inclusive1BasedEnd2 } = options2;
|
|
114469
114473
|
feat.locations = wrapOriginSpanningFeatures(
|
|
@@ -114472,6 +114476,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
114472
114476
|
inclusive1BasedStart2,
|
|
114473
114477
|
inclusive1BasedEnd2
|
|
114474
114478
|
);
|
|
114479
|
+
} else if (feat.locations && feat.locations.length > 1) {
|
|
114480
|
+
feat.locations.sort((a2, b3) => a2.start - b3.start);
|
|
114475
114481
|
}
|
|
114476
114482
|
return feat;
|
|
114477
114483
|
}
|
|
@@ -144732,7 +144738,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
144732
144738
|
input.click();
|
|
144733
144739
|
}
|
|
144734
144740
|
__name(showFileDialog, "showFileDialog");
|
|
144735
|
-
const version = "0.8.
|
|
144741
|
+
const version = "0.8.13";
|
|
144736
144742
|
const packageJson = {
|
|
144737
144743
|
version
|
|
144738
144744
|
};
|
|
@@ -166612,10 +166618,10 @@ ${seqDataToCopy}\r
|
|
|
166612
166618
|
togglableAlignmentAnnotationSettings[annotation] = alignmentAnnotationVisibility[annotation];
|
|
166613
166619
|
}
|
|
166614
166620
|
});
|
|
166615
|
-
const tracks = parseTracks(alignmentTracks);
|
|
166616
|
-
const labileSites = getLabileSites(tracks, 0.5);
|
|
166617
166621
|
const annotationsWithCounts = [];
|
|
166618
166622
|
if (alignmentTracks) {
|
|
166623
|
+
const tracks = parseTracks(alignmentTracks);
|
|
166624
|
+
const labileSites = getLabileSites(tracks, 0.5);
|
|
166619
166625
|
let totalNumOfFeatures = 0;
|
|
166620
166626
|
let totalNumOfParts = 0;
|
|
166621
166627
|
alignmentTracks.forEach((seq) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ove",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.14",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@blueprintjs/core": "3.54.0",
|
|
15
15
|
"@hello-pangea/dnd": "16.2.0",
|
|
16
16
|
"@risingstack/react-easy-state": "^6.3.0",
|
|
17
|
-
"@teselagen/bio-parsers": "0.4.
|
|
17
|
+
"@teselagen/bio-parsers": "0.4.29",
|
|
18
18
|
"@teselagen/file-utils": "0.3.20",
|
|
19
19
|
"@teselagen/range-utils": "0.3.13",
|
|
20
20
|
"@teselagen/react-list": "0.8.18",
|
|
@@ -1970,11 +1970,10 @@ export default compose(
|
|
|
1970
1970
|
}
|
|
1971
1971
|
});
|
|
1972
1972
|
|
|
1973
|
-
const tracks = parseTracks(alignmentTracks);
|
|
1974
|
-
const labileSites = getLabileSites(tracks, 0.5);
|
|
1975
|
-
|
|
1976
1973
|
const annotationsWithCounts = [];
|
|
1977
1974
|
if (alignmentTracks) {
|
|
1975
|
+
const tracks = parseTracks(alignmentTracks);
|
|
1976
|
+
const labileSites = getLabileSites(tracks, 0.5);
|
|
1978
1977
|
let totalNumOfFeatures = 0;
|
|
1979
1978
|
let totalNumOfParts = 0;
|
|
1980
1979
|
alignmentTracks.forEach(seq => {
|
|
@@ -19,17 +19,6 @@ export const filteredRestrictionEnzymesAdd = createAction(
|
|
|
19
19
|
// Reducer
|
|
20
20
|
// ------------------------------------
|
|
21
21
|
const defaultInitialState = [specialCutsiteFilterOptions.single];
|
|
22
|
-
// let initialState = defaultInitialState;
|
|
23
|
-
// const localDefault = window.localStorage.getItem("tgInitialCutsiteFilter");
|
|
24
|
-
|
|
25
|
-
// if (localDefault) {
|
|
26
|
-
// try {
|
|
27
|
-
// initialState = JSON.parse(localDefault);
|
|
28
|
-
// if (!Array.isArray(initialState)) throw new Error("Must be an array");
|
|
29
|
-
// } catch (e) {
|
|
30
|
-
// initialState = defaultInitialState;
|
|
31
|
-
// }
|
|
32
|
-
// }
|
|
33
22
|
|
|
34
23
|
export default combineReducers({
|
|
35
24
|
//filteredRestrictionEnzymes refer to the enzymes actively included in the react-select filter component
|