gramene-search 1.2.29 → 1.2.32
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/.parcel-cache/2b1c1cd7b577d2ca.txt +2 -2
- package/.parcel-cache/687f8a990313aa2f.txt +2 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/dist/index.d2bab208.js +9 -7
- package/dist/index.d2bab208.js.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/results/details/Expression.js +2 -2
- package/src/components/results/details/Homology.js +5 -1
- package/src/components/results/details/location/dallianceBrowser.js +1 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
77767442
|
|
2
|
+
1653415981701303000
|
package/.parcel-cache/data.mdb
CHANGED
|
Binary file
|
package/.parcel-cache/lock.mdb
CHANGED
|
Binary file
|
package/dist/index.d2bab208.js
CHANGED
|
@@ -92985,10 +92985,10 @@ function _interopRequireDefault(obj) {
|
|
|
92985
92985
|
"default": obj
|
|
92986
92986
|
};
|
|
92987
92987
|
}
|
|
92988
|
-
var PREFIX = global.location ? global.location.origin + global.location.pathname : '';
|
|
92988
|
+
var PREFIX = global.location ? global.location.origin + global.location.pathname + '/' : '';
|
|
92989
92989
|
var Detail = function Detail1(props) {
|
|
92990
92990
|
var gene = props.geneDocs[props.searchResult.id];
|
|
92991
|
-
var url = "
|
|
92991
|
+
var url = "/static/atlasWidget.html?".concat(gene.taxon_id === 112509 ? gene.synonyms[0] : gene._id);
|
|
92992
92992
|
var height = '500px';
|
|
92993
92993
|
return(/*#__PURE__*/ _react["default"].createElement("iframe", {
|
|
92994
92994
|
src: url,
|
|
@@ -93223,9 +93223,12 @@ var Homology1 = /*#__PURE__*/ function(_React$Component) {
|
|
|
93223
93223
|
if (homology) {
|
|
93224
93224
|
var homologs = _lodash["default"](homology).pickBy(function filterCategories(thing, name) {
|
|
93225
93225
|
return name.indexOf(type) === 0;
|
|
93226
|
-
}).values().flatten().value();
|
|
93226
|
+
}).values().flatten().uniq().value();
|
|
93227
93227
|
if (!_lodash["default"].isEmpty(homologs)) {
|
|
93228
|
-
homologs.
|
|
93228
|
+
if (!homologs.includes(thisGeneId)) {
|
|
93229
|
+
console.log("add to homologs list", thisGeneId);
|
|
93230
|
+
homologs.push(thisGeneId);
|
|
93231
|
+
}
|
|
93229
93232
|
return homologs; // only return something if we have something. We're testing for truthiness later.
|
|
93230
93233
|
}
|
|
93231
93234
|
}
|
|
@@ -203730,7 +203733,7 @@ var Location1 = /*#__PURE__*/ function(_React$Component) {
|
|
|
203730
203733
|
key: "links",
|
|
203731
203734
|
value: function links() {
|
|
203732
203735
|
function jgiify(id) {
|
|
203733
|
-
return id.replace('SORBI_3', 'Sobic.');
|
|
203736
|
+
return id.replace('SORBI_3', 'Sobic.').replace(/\.v[0-9]\.[0-9]$/, '');
|
|
203734
203737
|
}
|
|
203735
203738
|
var gene = this.gene;
|
|
203736
203739
|
var links = [
|
|
@@ -204028,7 +204031,6 @@ var prevRefreshSig = window.$RefreshSig$;
|
|
|
204028
204031
|
$parcel$ReactRefreshHelpers$0c99.prelude(module);
|
|
204029
204032
|
|
|
204030
204033
|
try {
|
|
204031
|
-
var global = arguments[3];
|
|
204032
204034
|
"use strict";
|
|
204033
204035
|
function _typeof(obj) {
|
|
204034
204036
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") _typeof = function _typeof1(obj1) {
|
|
@@ -204129,7 +204131,7 @@ function _getPrototypeOf(o) {
|
|
|
204129
204131
|
// const ensemblREST = 'https://data.gramene.org/vitis-ensembl1';
|
|
204130
204132
|
// const ensemblREST = 'https://data.gramene.org/pansite-ensembl';
|
|
204131
204133
|
// calculate this once.
|
|
204132
|
-
var PREFIX =
|
|
204134
|
+
var PREFIX = '/static/gramene-dalliance/';
|
|
204133
204135
|
var DallianceBrowser1 = /*#__PURE__*/ function(_React$Component) {
|
|
204134
204136
|
_inherits(DallianceBrowser2, _React$Component);
|
|
204135
204137
|
var _super = _createSuper(DallianceBrowser2);
|