@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.cjs.js CHANGED
@@ -5515,10 +5515,10 @@ var ownKeys$7 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownK
5515
5515
  /* istanbul ignore next */
5516
5516
  Object.getOwnPropertyNames
5517
5517
  );
5518
- function toPrimitive$3(value) {
5518
+ function toPrimitive$2(value) {
5519
5519
  return value === null ? null : typeof value === "object" ? "" + value : value;
5520
5520
  }
5521
- __name(toPrimitive$3, "toPrimitive$3");
5521
+ __name(toPrimitive$2, "toPrimitive$2");
5522
5522
  function hasProp(target, prop2) {
5523
5523
  return objectPrototype$1.hasOwnProperty.call(target, prop2);
5524
5524
  }
@@ -6415,7 +6415,7 @@ var ObservableValue = /* @__PURE__ */ function(_Atom) {
6415
6415
  return this.name_ + "[" + this.value_ + "]";
6416
6416
  }, "toString");
6417
6417
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
6418
- return toPrimitive$3(this.get());
6418
+ return toPrimitive$2(this.get());
6419
6419
  }, "valueOf");
6420
6420
  _proto[_Symbol$toPrimitive] = function() {
6421
6421
  return this.valueOf();
@@ -6600,7 +6600,7 @@ var ComputedValue = /* @__PURE__ */ function() {
6600
6600
  return this.name_ + "[" + this.derivation.toString() + "]";
6601
6601
  }, "toString");
6602
6602
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
6603
- return toPrimitive$3(this.get());
6603
+ return toPrimitive$2(this.get());
6604
6604
  }, "valueOf");
6605
6605
  _proto[_Symbol$toPrimitive$1] = function() {
6606
6606
  return this.valueOf();
@@ -11234,7 +11234,7 @@ lodash.exports;
11234
11234
  "^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar2, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
11235
11235
  );
11236
11236
  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;
11237
- var defineProperty6 = function() {
11237
+ var defineProperty5 = function() {
11238
11238
  try {
11239
11239
  var func = getNative2(Object2, "defineProperty");
11240
11240
  func({}, "", {});
@@ -11674,8 +11674,8 @@ lodash.exports;
11674
11674
  }
11675
11675
  __name(baseAssignIn2, "baseAssignIn");
11676
11676
  function baseAssignValue2(object3, key, value) {
11677
- if (key == "__proto__" && defineProperty6) {
11678
- defineProperty6(object3, key, {
11677
+ if (key == "__proto__" && defineProperty5) {
11678
+ defineProperty5(object3, key, {
11679
11679
  "configurable": true,
11680
11680
  "enumerable": true,
11681
11681
  "value": value,
@@ -12408,8 +12408,8 @@ lodash.exports;
12408
12408
  metaMap.set(func, data);
12409
12409
  return func;
12410
12410
  };
12411
- var baseSetToString2 = !defineProperty6 ? identity4 : function(func, string2) {
12412
- return defineProperty6(func, "toString", {
12411
+ var baseSetToString2 = !defineProperty5 ? identity4 : function(func, string2) {
12412
+ return defineProperty5(func, "toString", {
12413
12413
  "configurable": true,
12414
12414
  "enumerable": false,
12415
12415
  "value": constant2(string2),
@@ -16933,11 +16933,20 @@ var _fails = /* @__PURE__ */ __name(function(exec) {
16933
16933
  return true;
16934
16934
  }
16935
16935
  }, "_fails");
16936
- var _descriptors = !_fails(function() {
16937
- return Object.defineProperty({}, "a", { get: function() {
16938
- return 7;
16939
- } }).a != 7;
16940
- });
16936
+ var _descriptors;
16937
+ var hasRequired_descriptors;
16938
+ function require_descriptors() {
16939
+ if (hasRequired_descriptors)
16940
+ return _descriptors;
16941
+ hasRequired_descriptors = 1;
16942
+ _descriptors = !_fails(function() {
16943
+ return Object.defineProperty({}, "a", { get: function() {
16944
+ return 7;
16945
+ } }).a != 7;
16946
+ });
16947
+ return _descriptors;
16948
+ }
16949
+ __name(require_descriptors, "require_descriptors");
16941
16950
  var _domCreate;
16942
16951
  var hasRequired_domCreate;
16943
16952
  function require_domCreate() {
@@ -16953,11 +16962,20 @@ function require_domCreate() {
16953
16962
  return _domCreate;
16954
16963
  }
16955
16964
  __name(require_domCreate, "require_domCreate");
16956
- var _ie8DomDefine = !_descriptors && !_fails(function() {
16957
- return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
16958
- return 7;
16959
- } }).a != 7;
16960
- });
16965
+ var _ie8DomDefine;
16966
+ var hasRequired_ie8DomDefine;
16967
+ function require_ie8DomDefine() {
16968
+ if (hasRequired_ie8DomDefine)
16969
+ return _ie8DomDefine;
16970
+ hasRequired_ie8DomDefine = 1;
16971
+ _ie8DomDefine = !require_descriptors() && !_fails(function() {
16972
+ return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
16973
+ return 7;
16974
+ } }).a != 7;
16975
+ });
16976
+ return _ie8DomDefine;
16977
+ }
16978
+ __name(require_ie8DomDefine, "require_ie8DomDefine");
16961
16979
  var isObject$d = _isObject;
16962
16980
  var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
16963
16981
  if (!isObject$d(it))
@@ -16971,25 +16989,33 @@ var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
16971
16989
  return val2;
16972
16990
  throw TypeError("Can't convert object to primitive value");
16973
16991
  }, "_toPrimitive$1");
16974
- var anObject$3 = _anObject;
16975
- var IE8_DOM_DEFINE$1 = _ie8DomDefine;
16976
- var toPrimitive$2 = _toPrimitive$1;
16977
- var dP$2 = Object.defineProperty;
16978
- _objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
16979
- anObject$3(O2);
16980
- P2 = toPrimitive$2(P2, true);
16981
- anObject$3(Attributes);
16982
- if (IE8_DOM_DEFINE$1)
16983
- try {
16984
- return dP$2(O2, P2, Attributes);
16985
- } catch (e2) {
16986
- }
16987
- if ("get" in Attributes || "set" in Attributes)
16988
- throw TypeError("Accessors not supported!");
16989
- if ("value" in Attributes)
16990
- O2[P2] = Attributes.value;
16991
- return O2;
16992
- }, "defineProperty");
16992
+ var hasRequired_objectDp;
16993
+ function require_objectDp() {
16994
+ if (hasRequired_objectDp)
16995
+ return _objectDp;
16996
+ hasRequired_objectDp = 1;
16997
+ var anObject2 = _anObject;
16998
+ var IE8_DOM_DEFINE2 = require_ie8DomDefine();
16999
+ var toPrimitive2 = _toPrimitive$1;
17000
+ var dP2 = Object.defineProperty;
17001
+ _objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty5(O2, P2, Attributes) {
17002
+ anObject2(O2);
17003
+ P2 = toPrimitive2(P2, true);
17004
+ anObject2(Attributes);
17005
+ if (IE8_DOM_DEFINE2)
17006
+ try {
17007
+ return dP2(O2, P2, Attributes);
17008
+ } catch (e2) {
17009
+ }
17010
+ if ("get" in Attributes || "set" in Attributes)
17011
+ throw TypeError("Accessors not supported!");
17012
+ if ("value" in Attributes)
17013
+ O2[P2] = Attributes.value;
17014
+ return O2;
17015
+ }, "defineProperty");
17016
+ return _objectDp;
17017
+ }
17018
+ __name(require_objectDp, "require_objectDp");
16993
17019
  var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
16994
17020
  return {
16995
17021
  enumerable: !(bitmap & 1),
@@ -16998,9 +17024,9 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
16998
17024
  value
16999
17025
  };
17000
17026
  }, "_propertyDesc");
17001
- var dP$1 = _objectDp;
17027
+ var dP$1 = require_objectDp();
17002
17028
  var createDesc$3 = _propertyDesc;
17003
- var _hide = _descriptors ? function(object3, key, value) {
17029
+ var _hide = require_descriptors() ? function(object3, key, value) {
17004
17030
  return dP$1.f(object3, key, createDesc$3(1, value));
17005
17031
  } : function(object3, key, value) {
17006
17032
  object3[key] = value;
@@ -17072,16 +17098,25 @@ var toString$6 = {}.toString;
17072
17098
  var _cof = /* @__PURE__ */ __name(function(it) {
17073
17099
  return toString$6.call(it).slice(8, -1);
17074
17100
  }, "_cof");
17075
- var cof$2 = _cof;
17076
- var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
17077
- return cof$2(it) == "String" ? it.split("") : Object(it);
17078
- };
17101
+ var _iobject;
17102
+ var hasRequired_iobject;
17103
+ function require_iobject() {
17104
+ if (hasRequired_iobject)
17105
+ return _iobject;
17106
+ hasRequired_iobject = 1;
17107
+ var cof2 = _cof;
17108
+ _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
17109
+ return cof2(it) == "String" ? it.split("") : Object(it);
17110
+ };
17111
+ return _iobject;
17112
+ }
17113
+ __name(require_iobject, "require_iobject");
17079
17114
  var _defined = /* @__PURE__ */ __name(function(it) {
17080
17115
  if (it == void 0)
17081
17116
  throw TypeError("Can't call method on " + it);
17082
17117
  return it;
17083
17118
  }, "_defined");
17084
- var IObject = _iobject;
17119
+ var IObject = require_iobject();
17085
17120
  var defined$2 = _defined;
17086
17121
  var _toIobject = /* @__PURE__ */ __name(function(it) {
17087
17122
  return IObject(defined$2(it));
@@ -17197,12 +17232,12 @@ function require_objectAssign() {
17197
17232
  if (hasRequired_objectAssign)
17198
17233
  return _objectAssign;
17199
17234
  hasRequired_objectAssign = 1;
17200
- var DESCRIPTORS2 = _descriptors;
17235
+ var DESCRIPTORS2 = require_descriptors();
17201
17236
  var getKeys2 = _objectKeys;
17202
17237
  var gOPS2 = _objectGops;
17203
17238
  var pIE2 = require_objectPie();
17204
17239
  var toObject2 = _toObject;
17205
- var IObject2 = _iobject;
17240
+ var IObject2 = require_iobject();
17206
17241
  var $assign = Object.assign;
17207
17242
  _objectAssign = !$assign || _fails(function() {
17208
17243
  var A2 = {};
@@ -17269,10 +17304,10 @@ function require_objectDps() {
17269
17304
  if (hasRequired_objectDps)
17270
17305
  return _objectDps;
17271
17306
  hasRequired_objectDps = 1;
17272
- var dP2 = _objectDp;
17307
+ var dP2 = require_objectDp();
17273
17308
  var anObject2 = _anObject;
17274
17309
  var getKeys2 = _objectKeys;
17275
- _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties3(O2, Properties2) {
17310
+ _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties3(O2, Properties2) {
17276
17311
  anObject2(O2);
17277
17312
  var keys5 = getKeys2(Properties2);
17278
17313
  var length = keys5.length;
@@ -17351,7 +17386,7 @@ var $exports = _wks.exports = function(name2) {
17351
17386
  };
17352
17387
  $exports.store = store$2;
17353
17388
  var _wksExports = _wks.exports;
17354
- var def = _objectDp.f;
17389
+ var def = require_objectDp().f;
17355
17390
  var has$c = _has;
17356
17391
  var TAG$1 = _wksExports("toStringTag");
17357
17392
  var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
@@ -17624,7 +17659,7 @@ var ArrayProto = Array.prototype;
17624
17659
  var _isArrayIter = /* @__PURE__ */ __name(function(it) {
17625
17660
  return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
17626
17661
  }, "_isArrayIter");
17627
- var $defineProperty$2 = _objectDp;
17662
+ var $defineProperty$2 = require_objectDp();
17628
17663
  var createDesc$2 = _propertyDesc;
17629
17664
  var _createProperty = /* @__PURE__ */ __name(function(object3, index2, value) {
17630
17665
  if (index2 in object3)
@@ -17753,9 +17788,9 @@ var _default$8 = /* @__PURE__ */ __name(function(instance, Constructor) {
17753
17788
  }
17754
17789
  }, "_default$8");
17755
17790
  var $export$3 = _export;
17756
- $export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
17791
+ $export$3($export$3.S + $export$3.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
17757
17792
  var $Object$2 = _coreExports.Object;
17758
- var defineProperty$c = /* @__PURE__ */ __name(function defineProperty3(it, key, desc) {
17793
+ var defineProperty$c = /* @__PURE__ */ __name(function defineProperty2(it, key, desc) {
17759
17794
  return $Object$2.defineProperty(it, key, desc);
17760
17795
  }, "defineProperty");
17761
17796
  var defineProperty$b = { "default": defineProperty$c, __esModule: true };
@@ -17794,7 +17829,7 @@ var _meta = { exports: {} };
17794
17829
  var META$1 = _uid("meta");
17795
17830
  var isObject$c = _isObject;
17796
17831
  var has$a = _has;
17797
- var setDesc = _objectDp.f;
17832
+ var setDesc = require_objectDp().f;
17798
17833
  var id$1 = 0;
17799
17834
  var isExtensible = Object.isExtensible || function() {
17800
17835
  return true;
@@ -17847,7 +17882,7 @@ var meta = _meta.exports = {
17847
17882
  var _metaExports = _meta.exports;
17848
17883
  var core = _coreExports;
17849
17884
  var wksExt$1 = _wksExt;
17850
- var defineProperty$a = _objectDp.f;
17885
+ var defineProperty$a = require_objectDp().f;
17851
17886
  var _wksDefine = /* @__PURE__ */ __name(function(name2) {
17852
17887
  var $Symbol2 = core.Symbol || (core.Symbol = {});
17853
17888
  if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
@@ -17901,9 +17936,9 @@ var createDesc$1 = _propertyDesc;
17901
17936
  var toIObject$1 = _toIobject;
17902
17937
  var toPrimitive$1 = _toPrimitive$1;
17903
17938
  var has$9 = _has;
17904
- var IE8_DOM_DEFINE = _ie8DomDefine;
17939
+ var IE8_DOM_DEFINE = require_ie8DomDefine();
17905
17940
  var gOPD$5 = Object.getOwnPropertyDescriptor;
17906
- _objectGopd.f = _descriptors ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
17941
+ _objectGopd.f = require_descriptors() ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
17907
17942
  O2 = toIObject$1(O2);
17908
17943
  P2 = toPrimitive$1(P2, true);
17909
17944
  if (IE8_DOM_DEFINE)
@@ -17916,7 +17951,7 @@ _objectGopd.f = _descriptors ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPr
17916
17951
  }, "getOwnPropertyDescriptor");
17917
17952
  var global$2 = _globalExports;
17918
17953
  var has$8 = _has;
17919
- var DESCRIPTORS = _descriptors;
17954
+ var DESCRIPTORS = require_descriptors();
17920
17955
  var $export$2 = _export;
17921
17956
  var redefine = _redefine;
17922
17957
  var META = _metaExports.KEY;
@@ -17939,7 +17974,7 @@ var _create$1 = require_objectCreate();
17939
17974
  var gOPNExt = _objectGopnExt;
17940
17975
  var $GOPD = _objectGopd;
17941
17976
  var $GOPS = _objectGops;
17942
- var $DP = _objectDp;
17977
+ var $DP = require_objectDp();
17943
17978
  var $keys$1 = _objectKeys;
17944
17979
  var gOPD$4 = $GOPD.f;
17945
17980
  var dP = $DP.f;
@@ -17982,7 +18017,7 @@ var isSymbol$8 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
17982
18017
  } : function(it) {
17983
18018
  return it instanceof $Symbol;
17984
18019
  };
17985
- var $defineProperty$1 = /* @__PURE__ */ __name(function defineProperty4(it, key, D2) {
18020
+ var $defineProperty$1 = /* @__PURE__ */ __name(function defineProperty3(it, key, D2) {
17986
18021
  if (it === ObjectProto)
17987
18022
  $defineProperty$1(OPSymbols, key, D2);
17988
18023
  anObject(it);
@@ -42385,14 +42420,14 @@ const generateToast = /* @__PURE__ */ __name((intent) => (message, options) => {
42385
42420
  updatedTimeout = ++counter$1;
42386
42421
  }
42387
42422
  }
42388
- if (window.Cypress && intent === core$5.Intent.DANGER) {
42389
- console.error("toastr error message: ", message);
42423
+ if (intent === core$5.Intent.DANGER) {
42424
+ console.error("Toastr error message: ", message);
42390
42425
  }
42391
42426
  const uniqKey = toastToUse.show(
42392
42427
  {
42393
42428
  intent,
42394
42429
  message,
42395
- timeout: options.timeout || updatedTimeout,
42430
+ timeout: options.timeout || updatedTimeout || intent === core$5.Intent.DANGER ? 6e4 : void 0,
42396
42431
  action: options.action,
42397
42432
  icon: options.icon,
42398
42433
  className: options.className
@@ -70563,11 +70598,11 @@ function UploaderInner({
70563
70598
  {
70564
70599
  description: "Download Example CSV File",
70565
70600
  exampleFile: () => {
70566
- var _a3;
70601
+ var _a3, _b3;
70567
70602
  const rows = [];
70568
70603
  const schemaToUse = [
70569
70604
  ...a2.validateAgainstSchema.fields,
70570
- ...a2.validateAgainstSchema.exampleDownloadFields
70605
+ ...(_a3 = a2.validateAgainstSchema.exampleDownloadFields) != null ? _a3 : []
70571
70606
  ];
70572
70607
  rows.push(
70573
70608
  schemaToUse.map((f2) => {
@@ -70580,7 +70615,7 @@ function UploaderInner({
70580
70615
  })
70581
70616
  );
70582
70617
  const csv = papaparse_minExports.unparse(rows);
70583
- const downloadFn = ((_a3 = window.Cypress) == null ? void 0 : _a3.downloadTest) || downloadjs;
70618
+ const downloadFn = ((_b3 = window.Cypress) == null ? void 0 : _b3.downloadTest) || downloadjs;
70584
70619
  downloadFn(csv, `${nameToUse}.csv`, "csv");
70585
70620
  }
70586
70621
  },
@@ -91666,7 +91701,7 @@ function escapeStringRegexp(string2) {
91666
91701
  return string2.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
91667
91702
  }
91668
91703
  __name(escapeStringRegexp, "escapeStringRegexp");
91669
- function getAminoAcidStringFromSequenceString(sequenceString) {
91704
+ function getAminoAcidStringFromSequenceString(sequenceString, { doNotExcludeAsterisk } = {}) {
91670
91705
  const aminoAcidsPerBase = getAminoAcidDataForEachBaseOfDna(
91671
91706
  sequenceString,
91672
91707
  true
@@ -91677,7 +91712,7 @@ function getAminoAcidStringFromSequenceString(sequenceString) {
91677
91712
  if (!aa.fullCodon) {
91678
91713
  return;
91679
91714
  }
91680
- if (index2 === aminoAcidsPerBase.length - 1 && aa.aminoAcid.value === "*") {
91715
+ if (!doNotExcludeAsterisk && index2 >= aminoAcidsPerBase.length - 3 && aa.aminoAcid.value === "*") {
91681
91716
  return;
91682
91717
  }
91683
91718
  aaArray[aa.aminoAcidIndex] = aa.aminoAcid.value;
@@ -91734,18 +91769,22 @@ function findSequenceMatchesTopStrand(sequence2, searchString, options = {}) {
91734
91769
  if (isProteinSearch) {
91735
91770
  sequencesToCheck = [
91736
91771
  {
91737
- seqToCheck: getAminoAcidStringFromSequenceString(sequenceToUse),
91772
+ seqToCheck: getAminoAcidStringFromSequenceString(sequenceToUse, {
91773
+ doNotExcludeAsterisk: true
91774
+ }),
91738
91775
  offset: 0
91739
91776
  },
91740
91777
  {
91741
91778
  seqToCheck: getAminoAcidStringFromSequenceString(
91742
- sequenceToUse.substr(1)
91779
+ sequenceToUse.substr(1),
91780
+ { doNotExcludeAsterisk: true }
91743
91781
  ),
91744
91782
  offset: 1
91745
91783
  },
91746
91784
  {
91747
91785
  seqToCheck: getAminoAcidStringFromSequenceString(
91748
- sequenceToUse.substr(2)
91786
+ sequenceToUse.substr(2),
91787
+ { doNotExcludeAsterisk: true }
91749
91788
  ),
91750
91789
  offset: 2
91751
91790
  }
@@ -92931,7 +92970,7 @@ function flattenSequenceArray(parsingResultArray, opts2) {
92931
92970
  return parsingResultArray;
92932
92971
  }
92933
92972
  __name(flattenSequenceArray, "flattenSequenceArray");
92934
- function parseFeatureLocation(locStr, isProtein2, inclusive1BasedStart, inclusive1BasedEnd) {
92973
+ function parseFeatureLocation(locStr, isProtein2, inclusive1BasedStart, inclusive1BasedEnd, isCircular, sequenceLength) {
92935
92974
  locStr = locStr.trim();
92936
92975
  const locArr = [];
92937
92976
  locStr.replace(/(\d+)/g, function(string2, match2) {
@@ -92952,6 +92991,19 @@ function parseFeatureLocation(locStr, isProtein2, inclusive1BasedStart, inclusiv
92952
92991
  isProtein2 ? convertAACaretPositionOrRangeToDna(location2) : location2
92953
92992
  );
92954
92993
  }
92994
+ if (isCircular) {
92995
+ for (let i = 0; i < locArray.length; i += 2) {
92996
+ const firstFeature = locArray[i];
92997
+ const secondFeature = locArray[i + 1];
92998
+ if (firstFeature.end === sequenceLength - (inclusive1BasedEnd ? 0 : 1) && secondFeature.start === 1 - (inclusive1BasedStart ? 0 : 1)) {
92999
+ locArray[i] = {
93000
+ start: firstFeature.start,
93001
+ end: secondFeature.end
93002
+ };
93003
+ locArray.splice(i + 1, 1);
93004
+ }
93005
+ }
93006
+ }
92955
93007
  return locArray;
92956
93008
  }
92957
93009
  __name(parseFeatureLocation, "parseFeatureLocation");
@@ -93285,7 +93337,9 @@ function genbankToJson(string2, options = {}) {
93285
93337
  line.trim(),
93286
93338
  options.isProtein,
93287
93339
  inclusive1BasedStart,
93288
- inclusive1BasedEnd
93340
+ inclusive1BasedEnd,
93341
+ result.parsedSequence.circular,
93342
+ result.parsedSequence.sequence.length
93289
93343
  )
93290
93344
  );
93291
93345
  lastLineWasLocation = true;
@@ -93318,7 +93372,9 @@ function genbankToJson(string2, options = {}) {
93318
93372
  val2,
93319
93373
  options.isProtein,
93320
93374
  inclusive1BasedStart,
93321
- inclusive1BasedEnd
93375
+ inclusive1BasedEnd,
93376
+ result.parsedSequence.circular,
93377
+ result.parsedSequence.sequence.length
93322
93378
  )
93323
93379
  );
93324
93380
  lastLineWasLocation = true;
@@ -124753,7 +124809,7 @@ function showFileDialog({ multiple = false, onSelect }) {
124753
124809
  }
124754
124810
  __name(showFileDialog, "showFileDialog");
124755
124811
  const name = "@teselagen/ove";
124756
- const version = "0.3.60";
124812
+ const version = "0.3.62";
124757
124813
  const main = "./src/index.js";
124758
124814
  const exports$1 = {
124759
124815
  ".": {
@@ -127080,7 +127136,7 @@ var createClass = function() {
127080
127136
  return Constructor;
127081
127137
  };
127082
127138
  }();
127083
- var defineProperty5 = /* @__PURE__ */ __name(function(obj, key, value) {
127139
+ var defineProperty4 = /* @__PURE__ */ __name(function(obj, key, value) {
127084
127140
  if (key in obj) {
127085
127141
  Object.defineProperty(obj, key, {
127086
127142
  value,
@@ -127691,7 +127747,7 @@ function arrow(data, options) {
127691
127747
  var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
127692
127748
  sideValue = Math.max(Math.min(popper2[len] - arrowElementSize, sideValue), 0);
127693
127749
  data.arrowElement = arrowElement;
127694
- data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty5(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty5(_data$offsets$arrow, altSide, ""), _data$offsets$arrow);
127750
+ data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty4(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty4(_data$offsets$arrow, altSide, ""), _data$offsets$arrow);
127695
127751
  return data;
127696
127752
  }
127697
127753
  __name(arrow, "arrow");
@@ -127922,7 +127978,7 @@ function preventOverflow(data, options) {
127922
127978
  if (popper2[placement] < boundaries[placement] && !options.escapeWithReference) {
127923
127979
  value = Math.max(popper2[placement], boundaries[placement]);
127924
127980
  }
127925
- return defineProperty5({}, placement, value);
127981
+ return defineProperty4({}, placement, value);
127926
127982
  }, "primary"),
127927
127983
  secondary: /* @__PURE__ */ __name(function secondary(placement) {
127928
127984
  var mainSide = placement === "right" ? "left" : "top";
@@ -127930,7 +127986,7 @@ function preventOverflow(data, options) {
127930
127986
  if (popper2[placement] > boundaries[placement] && !options.escapeWithReference) {
127931
127987
  value = Math.min(popper2[mainSide], boundaries[placement] - (placement === "right" ? popper2.width : popper2.height));
127932
127988
  }
127933
- return defineProperty5({}, mainSide, value);
127989
+ return defineProperty4({}, mainSide, value);
127934
127990
  }, "secondary")
127935
127991
  };
127936
127992
  order2.forEach(function(placement) {
@@ -127951,8 +128007,8 @@ function shift3(data) {
127951
128007
  var side = isVertical ? "left" : "top";
127952
128008
  var measurement = isVertical ? "width" : "height";
127953
128009
  var shiftOffsets = {
127954
- start: defineProperty5({}, side, reference2[side]),
127955
- end: defineProperty5({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
128010
+ start: defineProperty4({}, side, reference2[side]),
128011
+ end: defineProperty4({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
127956
128012
  };
127957
128013
  data.offsets.popper = _extends$1({}, popper2, shiftOffsets[shiftvariation]);
127958
128014
  }