gramene-search 1.7.2 → 1.7.3
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/83e7562660f7cc15-BundleGraph +0 -0
- package/.parcel-cache/d3a1b9507cb44047-AssetGraph +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/dc1da35000e13623-RequestGraph +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/.parcel-cache/snapshot-dc1da35000e13623.txt +2 -2
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/results/TaxDist.js +6 -3
- package/src/demo.js +1 -0
|
Binary file
|
|
Binary file
|
package/.parcel-cache/data.mdb
CHANGED
|
Binary file
|
|
Binary file
|
package/.parcel-cache/lock.mdb
CHANGED
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
867516026
|
|
2
|
+
1768588148639585000
|
package/dist/index.js
CHANGED
|
@@ -5328,7 +5328,8 @@ class $a67cad486021eb32$var$TaxDist extends (0, ($parcel$interopDefault($gXNCa$r
|
|
|
5328
5328
|
super(props);
|
|
5329
5329
|
this.state = {
|
|
5330
5330
|
collapseEmpties: true,
|
|
5331
|
-
comparaOnly: true
|
|
5331
|
+
comparaOnly: true,
|
|
5332
|
+
showCompara: props.configuration.hasOwnProperty('partialCompara')
|
|
5332
5333
|
};
|
|
5333
5334
|
}
|
|
5334
5335
|
handleSelection(selections) {
|
|
@@ -5363,7 +5364,7 @@ class $a67cad486021eb32$var$TaxDist extends (0, ($parcel$interopDefault($gXNCa$r
|
|
|
5363
5364
|
});
|
|
5364
5365
|
else if (Object.keys(this.props.grameneGenomes.active).length === 0 && this.props.grameneMaps) Object.keys(this.props.grameneMaps).forEach((tid)=>selectedTaxa[tid] = true);
|
|
5365
5366
|
else selectedTaxa = this.props.grameneGenomes.active;
|
|
5366
|
-
if (this.state.comparaOnly && this.props.grameneMaps) Object.keys(selectedTaxa).forEach((tid)=>{
|
|
5367
|
+
if (this.state.showCompara && this.state.comparaOnly && this.props.grameneMaps) Object.keys(selectedTaxa).forEach((tid)=>{
|
|
5367
5368
|
if (!this.props.grameneMaps[tid].in_compara) delete selectedTaxa[tid];
|
|
5368
5369
|
});
|
|
5369
5370
|
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("div", {
|
|
@@ -5380,7 +5381,7 @@ class $a67cad486021eb32$var$TaxDist extends (0, ($parcel$interopDefault($gXNCa$r
|
|
|
5380
5381
|
" empty branches"
|
|
5381
5382
|
]
|
|
5382
5383
|
}),
|
|
5383
|
-
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("button", {
|
|
5384
|
+
this.state.showCompara && /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("button", {
|
|
5384
5385
|
type: "button",
|
|
5385
5386
|
className: "btn btn-outline-success btn-sm",
|
|
5386
5387
|
onClick: this.toggleCompara.bind(this),
|
|
@@ -5410,7 +5411,7 @@ class $a67cad486021eb32$var$TaxDist extends (0, ($parcel$interopDefault($gXNCa$r
|
|
|
5410
5411
|
});
|
|
5411
5412
|
}
|
|
5412
5413
|
}
|
|
5413
|
-
var $a67cad486021eb32$export$2e2bcd8739ae039 = (0, $gXNCa$reduxbundlerreact.connect)('selectGrameneTaxDist', 'selectGrameneGenomes', 'selectGrameneSearch', 'selectGrameneMaps', $a67cad486021eb32$var$TaxDist);
|
|
5414
|
+
var $a67cad486021eb32$export$2e2bcd8739ae039 = (0, $gXNCa$reduxbundlerreact.connect)('selectConfiguration', 'selectGrameneTaxDist', 'selectGrameneGenomes', 'selectGrameneSearch', 'selectGrameneMaps', $a67cad486021eb32$var$TaxDist);
|
|
5414
5415
|
|
|
5415
5416
|
|
|
5416
5417
|
|