@teselagen/ove 0.3.61 → 0.3.63

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.
Files changed (4) hide show
  1. package/index.cjs.js +137 -81
  2. package/index.es.js +137 -81
  3. package/index.umd.js +118 -79
  4. package/package.json +4 -4
package/index.es.js CHANGED
@@ -5497,10 +5497,10 @@ var ownKeys$7 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownK
5497
5497
  /* istanbul ignore next */
5498
5498
  Object.getOwnPropertyNames
5499
5499
  );
5500
- function toPrimitive$3(value) {
5500
+ function toPrimitive$2(value) {
5501
5501
  return value === null ? null : typeof value === "object" ? "" + value : value;
5502
5502
  }
5503
- __name(toPrimitive$3, "toPrimitive$3");
5503
+ __name(toPrimitive$2, "toPrimitive$2");
5504
5504
  function hasProp(target, prop2) {
5505
5505
  return objectPrototype$1.hasOwnProperty.call(target, prop2);
5506
5506
  }
@@ -6397,7 +6397,7 @@ var ObservableValue = /* @__PURE__ */ function(_Atom) {
6397
6397
  return this.name_ + "[" + this.value_ + "]";
6398
6398
  }, "toString");
6399
6399
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
6400
- return toPrimitive$3(this.get());
6400
+ return toPrimitive$2(this.get());
6401
6401
  }, "valueOf");
6402
6402
  _proto[_Symbol$toPrimitive] = function() {
6403
6403
  return this.valueOf();
@@ -6582,7 +6582,7 @@ var ComputedValue = /* @__PURE__ */ function() {
6582
6582
  return this.name_ + "[" + this.derivation.toString() + "]";
6583
6583
  }, "toString");
6584
6584
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
6585
- return toPrimitive$3(this.get());
6585
+ return toPrimitive$2(this.get());
6586
6586
  }, "valueOf");
6587
6587
  _proto[_Symbol$toPrimitive$1] = function() {
6588
6588
  return this.valueOf();
@@ -11216,7 +11216,7 @@ lodash.exports;
11216
11216
  "^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar2, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
11217
11217
  );
11218
11218
  var Buffer2 = moduleExports2 ? context.Buffer : undefined$12, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe2 = Buffer2 ? Buffer2.allocUnsafe : undefined$12, getPrototype2 = overArg2(Object2.getPrototypeOf, Object2), objectCreate2 = Object2.create, propertyIsEnumerable3 = objectProto2.propertyIsEnumerable, splice3 = arrayProto2.splice, spreadableSymbol2 = Symbol2 ? Symbol2.isConcatSpreadable : undefined$12, symIterator = Symbol2 ? Symbol2.iterator : undefined$12, symToStringTag2 = Symbol2 ? Symbol2.toStringTag : undefined$12;
11219
- var defineProperty6 = function() {
11219
+ var defineProperty5 = function() {
11220
11220
  try {
11221
11221
  var func = getNative2(Object2, "defineProperty");
11222
11222
  func({}, "", {});
@@ -11656,8 +11656,8 @@ lodash.exports;
11656
11656
  }
11657
11657
  __name(baseAssignIn2, "baseAssignIn");
11658
11658
  function baseAssignValue2(object3, key, value) {
11659
- if (key == "__proto__" && defineProperty6) {
11660
- defineProperty6(object3, key, {
11659
+ if (key == "__proto__" && defineProperty5) {
11660
+ defineProperty5(object3, key, {
11661
11661
  "configurable": true,
11662
11662
  "enumerable": true,
11663
11663
  "value": value,
@@ -12390,8 +12390,8 @@ lodash.exports;
12390
12390
  metaMap.set(func, data);
12391
12391
  return func;
12392
12392
  };
12393
- var baseSetToString2 = !defineProperty6 ? identity4 : function(func, string2) {
12394
- return defineProperty6(func, "toString", {
12393
+ var baseSetToString2 = !defineProperty5 ? identity4 : function(func, string2) {
12394
+ return defineProperty5(func, "toString", {
12395
12395
  "configurable": true,
12396
12396
  "enumerable": false,
12397
12397
  "value": constant2(string2),
@@ -16915,11 +16915,20 @@ var _fails = /* @__PURE__ */ __name(function(exec) {
16915
16915
  return true;
16916
16916
  }
16917
16917
  }, "_fails");
16918
- var _descriptors = !_fails(function() {
16919
- return Object.defineProperty({}, "a", { get: function() {
16920
- return 7;
16921
- } }).a != 7;
16922
- });
16918
+ var _descriptors;
16919
+ var hasRequired_descriptors;
16920
+ function require_descriptors() {
16921
+ if (hasRequired_descriptors)
16922
+ return _descriptors;
16923
+ hasRequired_descriptors = 1;
16924
+ _descriptors = !_fails(function() {
16925
+ return Object.defineProperty({}, "a", { get: function() {
16926
+ return 7;
16927
+ } }).a != 7;
16928
+ });
16929
+ return _descriptors;
16930
+ }
16931
+ __name(require_descriptors, "require_descriptors");
16923
16932
  var _domCreate;
16924
16933
  var hasRequired_domCreate;
16925
16934
  function require_domCreate() {
@@ -16935,11 +16944,20 @@ function require_domCreate() {
16935
16944
  return _domCreate;
16936
16945
  }
16937
16946
  __name(require_domCreate, "require_domCreate");
16938
- var _ie8DomDefine = !_descriptors && !_fails(function() {
16939
- return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
16940
- return 7;
16941
- } }).a != 7;
16942
- });
16947
+ var _ie8DomDefine;
16948
+ var hasRequired_ie8DomDefine;
16949
+ function require_ie8DomDefine() {
16950
+ if (hasRequired_ie8DomDefine)
16951
+ return _ie8DomDefine;
16952
+ hasRequired_ie8DomDefine = 1;
16953
+ _ie8DomDefine = !require_descriptors() && !_fails(function() {
16954
+ return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
16955
+ return 7;
16956
+ } }).a != 7;
16957
+ });
16958
+ return _ie8DomDefine;
16959
+ }
16960
+ __name(require_ie8DomDefine, "require_ie8DomDefine");
16943
16961
  var isObject$d = _isObject;
16944
16962
  var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
16945
16963
  if (!isObject$d(it))
@@ -16953,25 +16971,33 @@ var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
16953
16971
  return val2;
16954
16972
  throw TypeError("Can't convert object to primitive value");
16955
16973
  }, "_toPrimitive$1");
16956
- var anObject$3 = _anObject;
16957
- var IE8_DOM_DEFINE$1 = _ie8DomDefine;
16958
- var toPrimitive$2 = _toPrimitive$1;
16959
- var dP$2 = Object.defineProperty;
16960
- _objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
16961
- anObject$3(O2);
16962
- P2 = toPrimitive$2(P2, true);
16963
- anObject$3(Attributes);
16964
- if (IE8_DOM_DEFINE$1)
16965
- try {
16966
- return dP$2(O2, P2, Attributes);
16967
- } catch (e2) {
16968
- }
16969
- if ("get" in Attributes || "set" in Attributes)
16970
- throw TypeError("Accessors not supported!");
16971
- if ("value" in Attributes)
16972
- O2[P2] = Attributes.value;
16973
- return O2;
16974
- }, "defineProperty");
16974
+ var hasRequired_objectDp;
16975
+ function require_objectDp() {
16976
+ if (hasRequired_objectDp)
16977
+ return _objectDp;
16978
+ hasRequired_objectDp = 1;
16979
+ var anObject2 = _anObject;
16980
+ var IE8_DOM_DEFINE2 = require_ie8DomDefine();
16981
+ var toPrimitive2 = _toPrimitive$1;
16982
+ var dP2 = Object.defineProperty;
16983
+ _objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty5(O2, P2, Attributes) {
16984
+ anObject2(O2);
16985
+ P2 = toPrimitive2(P2, true);
16986
+ anObject2(Attributes);
16987
+ if (IE8_DOM_DEFINE2)
16988
+ try {
16989
+ return dP2(O2, P2, Attributes);
16990
+ } catch (e2) {
16991
+ }
16992
+ if ("get" in Attributes || "set" in Attributes)
16993
+ throw TypeError("Accessors not supported!");
16994
+ if ("value" in Attributes)
16995
+ O2[P2] = Attributes.value;
16996
+ return O2;
16997
+ }, "defineProperty");
16998
+ return _objectDp;
16999
+ }
17000
+ __name(require_objectDp, "require_objectDp");
16975
17001
  var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
16976
17002
  return {
16977
17003
  enumerable: !(bitmap & 1),
@@ -16980,9 +17006,9 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
16980
17006
  value
16981
17007
  };
16982
17008
  }, "_propertyDesc");
16983
- var dP$1 = _objectDp;
17009
+ var dP$1 = require_objectDp();
16984
17010
  var createDesc$3 = _propertyDesc;
16985
- var _hide = _descriptors ? function(object3, key, value) {
17011
+ var _hide = require_descriptors() ? function(object3, key, value) {
16986
17012
  return dP$1.f(object3, key, createDesc$3(1, value));
16987
17013
  } : function(object3, key, value) {
16988
17014
  object3[key] = value;
@@ -17054,16 +17080,25 @@ var toString$6 = {}.toString;
17054
17080
  var _cof = /* @__PURE__ */ __name(function(it) {
17055
17081
  return toString$6.call(it).slice(8, -1);
17056
17082
  }, "_cof");
17057
- var cof$2 = _cof;
17058
- var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
17059
- return cof$2(it) == "String" ? it.split("") : Object(it);
17060
- };
17083
+ var _iobject;
17084
+ var hasRequired_iobject;
17085
+ function require_iobject() {
17086
+ if (hasRequired_iobject)
17087
+ return _iobject;
17088
+ hasRequired_iobject = 1;
17089
+ var cof2 = _cof;
17090
+ _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
17091
+ return cof2(it) == "String" ? it.split("") : Object(it);
17092
+ };
17093
+ return _iobject;
17094
+ }
17095
+ __name(require_iobject, "require_iobject");
17061
17096
  var _defined = /* @__PURE__ */ __name(function(it) {
17062
17097
  if (it == void 0)
17063
17098
  throw TypeError("Can't call method on " + it);
17064
17099
  return it;
17065
17100
  }, "_defined");
17066
- var IObject = _iobject;
17101
+ var IObject = require_iobject();
17067
17102
  var defined$2 = _defined;
17068
17103
  var _toIobject = /* @__PURE__ */ __name(function(it) {
17069
17104
  return IObject(defined$2(it));
@@ -17179,12 +17214,12 @@ function require_objectAssign() {
17179
17214
  if (hasRequired_objectAssign)
17180
17215
  return _objectAssign;
17181
17216
  hasRequired_objectAssign = 1;
17182
- var DESCRIPTORS2 = _descriptors;
17217
+ var DESCRIPTORS2 = require_descriptors();
17183
17218
  var getKeys2 = _objectKeys;
17184
17219
  var gOPS2 = _objectGops;
17185
17220
  var pIE2 = require_objectPie();
17186
17221
  var toObject2 = _toObject;
17187
- var IObject2 = _iobject;
17222
+ var IObject2 = require_iobject();
17188
17223
  var $assign = Object.assign;
17189
17224
  _objectAssign = !$assign || _fails(function() {
17190
17225
  var A2 = {};
@@ -17251,10 +17286,10 @@ function require_objectDps() {
17251
17286
  if (hasRequired_objectDps)
17252
17287
  return _objectDps;
17253
17288
  hasRequired_objectDps = 1;
17254
- var dP2 = _objectDp;
17289
+ var dP2 = require_objectDp();
17255
17290
  var anObject2 = _anObject;
17256
17291
  var getKeys2 = _objectKeys;
17257
- _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties3(O2, Properties2) {
17292
+ _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties3(O2, Properties2) {
17258
17293
  anObject2(O2);
17259
17294
  var keys5 = getKeys2(Properties2);
17260
17295
  var length = keys5.length;
@@ -17333,7 +17368,7 @@ var $exports = _wks.exports = function(name2) {
17333
17368
  };
17334
17369
  $exports.store = store$2;
17335
17370
  var _wksExports = _wks.exports;
17336
- var def = _objectDp.f;
17371
+ var def = require_objectDp().f;
17337
17372
  var has$c = _has;
17338
17373
  var TAG$1 = _wksExports("toStringTag");
17339
17374
  var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
@@ -17606,7 +17641,7 @@ var ArrayProto = Array.prototype;
17606
17641
  var _isArrayIter = /* @__PURE__ */ __name(function(it) {
17607
17642
  return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
17608
17643
  }, "_isArrayIter");
17609
- var $defineProperty$2 = _objectDp;
17644
+ var $defineProperty$2 = require_objectDp();
17610
17645
  var createDesc$2 = _propertyDesc;
17611
17646
  var _createProperty = /* @__PURE__ */ __name(function(object3, index2, value) {
17612
17647
  if (index2 in object3)
@@ -17735,9 +17770,9 @@ var _default$8 = /* @__PURE__ */ __name(function(instance, Constructor) {
17735
17770
  }
17736
17771
  }, "_default$8");
17737
17772
  var $export$3 = _export;
17738
- $export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
17773
+ $export$3($export$3.S + $export$3.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
17739
17774
  var $Object$2 = _coreExports.Object;
17740
- var defineProperty$c = /* @__PURE__ */ __name(function defineProperty3(it, key, desc) {
17775
+ var defineProperty$c = /* @__PURE__ */ __name(function defineProperty2(it, key, desc) {
17741
17776
  return $Object$2.defineProperty(it, key, desc);
17742
17777
  }, "defineProperty");
17743
17778
  var defineProperty$b = { "default": defineProperty$c, __esModule: true };
@@ -17776,7 +17811,7 @@ var _meta = { exports: {} };
17776
17811
  var META$1 = _uid("meta");
17777
17812
  var isObject$c = _isObject;
17778
17813
  var has$a = _has;
17779
- var setDesc = _objectDp.f;
17814
+ var setDesc = require_objectDp().f;
17780
17815
  var id$1 = 0;
17781
17816
  var isExtensible = Object.isExtensible || function() {
17782
17817
  return true;
@@ -17829,7 +17864,7 @@ var meta = _meta.exports = {
17829
17864
  var _metaExports = _meta.exports;
17830
17865
  var core = _coreExports;
17831
17866
  var wksExt$1 = _wksExt;
17832
- var defineProperty$a = _objectDp.f;
17867
+ var defineProperty$a = require_objectDp().f;
17833
17868
  var _wksDefine = /* @__PURE__ */ __name(function(name2) {
17834
17869
  var $Symbol2 = core.Symbol || (core.Symbol = {});
17835
17870
  if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
@@ -17883,9 +17918,9 @@ var createDesc$1 = _propertyDesc;
17883
17918
  var toIObject$1 = _toIobject;
17884
17919
  var toPrimitive$1 = _toPrimitive$1;
17885
17920
  var has$9 = _has;
17886
- var IE8_DOM_DEFINE = _ie8DomDefine;
17921
+ var IE8_DOM_DEFINE = require_ie8DomDefine();
17887
17922
  var gOPD$5 = Object.getOwnPropertyDescriptor;
17888
- _objectGopd.f = _descriptors ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
17923
+ _objectGopd.f = require_descriptors() ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
17889
17924
  O2 = toIObject$1(O2);
17890
17925
  P2 = toPrimitive$1(P2, true);
17891
17926
  if (IE8_DOM_DEFINE)
@@ -17898,7 +17933,7 @@ _objectGopd.f = _descriptors ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPr
17898
17933
  }, "getOwnPropertyDescriptor");
17899
17934
  var global$2 = _globalExports;
17900
17935
  var has$8 = _has;
17901
- var DESCRIPTORS = _descriptors;
17936
+ var DESCRIPTORS = require_descriptors();
17902
17937
  var $export$2 = _export;
17903
17938
  var redefine = _redefine;
17904
17939
  var META = _metaExports.KEY;
@@ -17921,7 +17956,7 @@ var _create$1 = require_objectCreate();
17921
17956
  var gOPNExt = _objectGopnExt;
17922
17957
  var $GOPD = _objectGopd;
17923
17958
  var $GOPS = _objectGops;
17924
- var $DP = _objectDp;
17959
+ var $DP = require_objectDp();
17925
17960
  var $keys$1 = _objectKeys;
17926
17961
  var gOPD$4 = $GOPD.f;
17927
17962
  var dP = $DP.f;
@@ -17964,7 +17999,7 @@ var isSymbol$8 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
17964
17999
  } : function(it) {
17965
18000
  return it instanceof $Symbol;
17966
18001
  };
17967
- var $defineProperty$1 = /* @__PURE__ */ __name(function defineProperty4(it, key, D2) {
18002
+ var $defineProperty$1 = /* @__PURE__ */ __name(function defineProperty3(it, key, D2) {
17968
18003
  if (it === ObjectProto)
17969
18004
  $defineProperty$1(OPSymbols, key, D2);
17970
18005
  anObject(it);
@@ -42367,14 +42402,14 @@ const generateToast = /* @__PURE__ */ __name((intent) => (message, options) => {
42367
42402
  updatedTimeout = ++counter$1;
42368
42403
  }
42369
42404
  }
42370
- if (window.Cypress && intent === Intent.DANGER) {
42371
- console.error("toastr error message: ", message);
42405
+ if (intent === Intent.DANGER) {
42406
+ console.error("Toastr error message: ", message);
42372
42407
  }
42373
42408
  const uniqKey = toastToUse.show(
42374
42409
  {
42375
42410
  intent,
42376
42411
  message,
42377
- timeout: options.timeout || updatedTimeout,
42412
+ timeout: options.timeout || updatedTimeout || intent === Intent.DANGER ? 6e4 : void 0,
42378
42413
  action: options.action,
42379
42414
  icon: options.icon,
42380
42415
  className: options.className
@@ -70545,11 +70580,11 @@ function UploaderInner({
70545
70580
  {
70546
70581
  description: "Download Example CSV File",
70547
70582
  exampleFile: () => {
70548
- var _a3;
70583
+ var _a3, _b3;
70549
70584
  const rows = [];
70550
70585
  const schemaToUse = [
70551
70586
  ...a2.validateAgainstSchema.fields,
70552
- ...a2.validateAgainstSchema.exampleDownloadFields
70587
+ ...(_a3 = a2.validateAgainstSchema.exampleDownloadFields) != null ? _a3 : []
70553
70588
  ];
70554
70589
  rows.push(
70555
70590
  schemaToUse.map((f2) => {
@@ -70562,7 +70597,7 @@ function UploaderInner({
70562
70597
  })
70563
70598
  );
70564
70599
  const csv = papaparse_minExports.unparse(rows);
70565
- const downloadFn = ((_a3 = window.Cypress) == null ? void 0 : _a3.downloadTest) || downloadjs;
70600
+ const downloadFn = ((_b3 = window.Cypress) == null ? void 0 : _b3.downloadTest) || downloadjs;
70566
70601
  downloadFn(csv, `${nameToUse}.csv`, "csv");
70567
70602
  }
70568
70603
  },
@@ -91648,7 +91683,7 @@ function escapeStringRegexp(string2) {
91648
91683
  return string2.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
91649
91684
  }
91650
91685
  __name(escapeStringRegexp, "escapeStringRegexp");
91651
- function getAminoAcidStringFromSequenceString(sequenceString) {
91686
+ function getAminoAcidStringFromSequenceString(sequenceString, { doNotExcludeAsterisk } = {}) {
91652
91687
  const aminoAcidsPerBase = getAminoAcidDataForEachBaseOfDna(
91653
91688
  sequenceString,
91654
91689
  true
@@ -91659,7 +91694,7 @@ function getAminoAcidStringFromSequenceString(sequenceString) {
91659
91694
  if (!aa.fullCodon) {
91660
91695
  return;
91661
91696
  }
91662
- if (index2 === aminoAcidsPerBase.length - 1 && aa.aminoAcid.value === "*") {
91697
+ if (!doNotExcludeAsterisk && index2 >= aminoAcidsPerBase.length - 3 && aa.aminoAcid.value === "*") {
91663
91698
  return;
91664
91699
  }
91665
91700
  aaArray[aa.aminoAcidIndex] = aa.aminoAcid.value;
@@ -91716,18 +91751,22 @@ function findSequenceMatchesTopStrand(sequence2, searchString, options = {}) {
91716
91751
  if (isProteinSearch) {
91717
91752
  sequencesToCheck = [
91718
91753
  {
91719
- seqToCheck: getAminoAcidStringFromSequenceString(sequenceToUse),
91754
+ seqToCheck: getAminoAcidStringFromSequenceString(sequenceToUse, {
91755
+ doNotExcludeAsterisk: true
91756
+ }),
91720
91757
  offset: 0
91721
91758
  },
91722
91759
  {
91723
91760
  seqToCheck: getAminoAcidStringFromSequenceString(
91724
- sequenceToUse.substr(1)
91761
+ sequenceToUse.substr(1),
91762
+ { doNotExcludeAsterisk: true }
91725
91763
  ),
91726
91764
  offset: 1
91727
91765
  },
91728
91766
  {
91729
91767
  seqToCheck: getAminoAcidStringFromSequenceString(
91730
- sequenceToUse.substr(2)
91768
+ sequenceToUse.substr(2),
91769
+ { doNotExcludeAsterisk: true }
91731
91770
  ),
91732
91771
  offset: 2
91733
91772
  }
@@ -92913,7 +92952,7 @@ function flattenSequenceArray(parsingResultArray, opts2) {
92913
92952
  return parsingResultArray;
92914
92953
  }
92915
92954
  __name(flattenSequenceArray, "flattenSequenceArray");
92916
- function parseFeatureLocation(locStr, isProtein2, inclusive1BasedStart, inclusive1BasedEnd) {
92955
+ function parseFeatureLocation(locStr, isProtein2, inclusive1BasedStart, inclusive1BasedEnd, isCircular, sequenceLength) {
92917
92956
  locStr = locStr.trim();
92918
92957
  const locArr = [];
92919
92958
  locStr.replace(/(\d+)/g, function(string2, match2) {
@@ -92934,6 +92973,19 @@ function parseFeatureLocation(locStr, isProtein2, inclusive1BasedStart, inclusiv
92934
92973
  isProtein2 ? convertAACaretPositionOrRangeToDna(location2) : location2
92935
92974
  );
92936
92975
  }
92976
+ if (isCircular) {
92977
+ for (let i = 0; i < locArray.length; i += 2) {
92978
+ const firstFeature = locArray[i];
92979
+ const secondFeature = locArray[i + 1];
92980
+ if (firstFeature.end === sequenceLength - (inclusive1BasedEnd ? 0 : 1) && secondFeature.start === 1 - (inclusive1BasedStart ? 0 : 1)) {
92981
+ locArray[i] = {
92982
+ start: firstFeature.start,
92983
+ end: secondFeature.end
92984
+ };
92985
+ locArray.splice(i + 1, 1);
92986
+ }
92987
+ }
92988
+ }
92937
92989
  return locArray;
92938
92990
  }
92939
92991
  __name(parseFeatureLocation, "parseFeatureLocation");
@@ -93267,7 +93319,9 @@ function genbankToJson(string2, options = {}) {
93267
93319
  line.trim(),
93268
93320
  options.isProtein,
93269
93321
  inclusive1BasedStart,
93270
- inclusive1BasedEnd
93322
+ inclusive1BasedEnd,
93323
+ result.parsedSequence.circular,
93324
+ result.parsedSequence.sequence.length
93271
93325
  )
93272
93326
  );
93273
93327
  lastLineWasLocation = true;
@@ -93300,7 +93354,9 @@ function genbankToJson(string2, options = {}) {
93300
93354
  val2,
93301
93355
  options.isProtein,
93302
93356
  inclusive1BasedStart,
93303
- inclusive1BasedEnd
93357
+ inclusive1BasedEnd,
93358
+ result.parsedSequence.circular,
93359
+ result.parsedSequence.sequence.length
93304
93360
  )
93305
93361
  );
93306
93362
  lastLineWasLocation = true;
@@ -124735,7 +124791,7 @@ function showFileDialog({ multiple = false, onSelect }) {
124735
124791
  }
124736
124792
  __name(showFileDialog, "showFileDialog");
124737
124793
  const name = "@teselagen/ove";
124738
- const version = "0.3.60";
124794
+ const version = "0.3.62";
124739
124795
  const main = "./src/index.js";
124740
124796
  const exports$1 = {
124741
124797
  ".": {
@@ -127062,7 +127118,7 @@ var createClass = function() {
127062
127118
  return Constructor;
127063
127119
  };
127064
127120
  }();
127065
- var defineProperty5 = /* @__PURE__ */ __name(function(obj, key, value) {
127121
+ var defineProperty4 = /* @__PURE__ */ __name(function(obj, key, value) {
127066
127122
  if (key in obj) {
127067
127123
  Object.defineProperty(obj, key, {
127068
127124
  value,
@@ -127673,7 +127729,7 @@ function arrow(data, options) {
127673
127729
  var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
127674
127730
  sideValue = Math.max(Math.min(popper2[len] - arrowElementSize, sideValue), 0);
127675
127731
  data.arrowElement = arrowElement;
127676
- data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty5(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty5(_data$offsets$arrow, altSide, ""), _data$offsets$arrow);
127732
+ data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty4(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty4(_data$offsets$arrow, altSide, ""), _data$offsets$arrow);
127677
127733
  return data;
127678
127734
  }
127679
127735
  __name(arrow, "arrow");
@@ -127904,7 +127960,7 @@ function preventOverflow(data, options) {
127904
127960
  if (popper2[placement] < boundaries[placement] && !options.escapeWithReference) {
127905
127961
  value = Math.max(popper2[placement], boundaries[placement]);
127906
127962
  }
127907
- return defineProperty5({}, placement, value);
127963
+ return defineProperty4({}, placement, value);
127908
127964
  }, "primary"),
127909
127965
  secondary: /* @__PURE__ */ __name(function secondary(placement) {
127910
127966
  var mainSide = placement === "right" ? "left" : "top";
@@ -127912,7 +127968,7 @@ function preventOverflow(data, options) {
127912
127968
  if (popper2[placement] > boundaries[placement] && !options.escapeWithReference) {
127913
127969
  value = Math.min(popper2[mainSide], boundaries[placement] - (placement === "right" ? popper2.width : popper2.height));
127914
127970
  }
127915
- return defineProperty5({}, mainSide, value);
127971
+ return defineProperty4({}, mainSide, value);
127916
127972
  }, "secondary")
127917
127973
  };
127918
127974
  order2.forEach(function(placement) {
@@ -127933,8 +127989,8 @@ function shift3(data) {
127933
127989
  var side = isVertical ? "left" : "top";
127934
127990
  var measurement = isVertical ? "width" : "height";
127935
127991
  var shiftOffsets = {
127936
- start: defineProperty5({}, side, reference2[side]),
127937
- end: defineProperty5({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
127992
+ start: defineProperty4({}, side, reference2[side]),
127993
+ end: defineProperty4({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
127938
127994
  };
127939
127995
  data.offsets.popper = _extends$1({}, popper2, shiftOffsets[shiftvariation]);
127940
127996
  }