gramene-search 1.6.31 → 1.6.33
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/9a0d07555444f4da-AssetGraph +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 +17 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/results/details/Expression.js +4 -3
- package/src/components/results/details/VEP.js +5 -5
- package/src/demo.js +4 -3
|
Binary file
|
|
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
|
+
261726238
|
|
2
|
+
1752850857280378000
|
package/dist/index.js
CHANGED
|
@@ -2279,6 +2279,7 @@ const $9e29a4f60318db7a$var$Detail = (props)=>{
|
|
|
2279
2279
|
const [atlasExperiment, setAtlasExperiment] = (0, $gXNCa$react.useState)(null);
|
|
2280
2280
|
const [atlasExperimentList, setAtlasExperimentList] = (0, $gXNCa$react.useState)([]);
|
|
2281
2281
|
const [isLocal, setIsLocal] = (0, $gXNCa$react.useState)(false);
|
|
2282
|
+
const [activeTab, setActiveTab] = (0, $gXNCa$react.useState)('gene');
|
|
2282
2283
|
const handleLocalAPIChange = (event)=>{
|
|
2283
2284
|
setIsLocal(event.target.checked);
|
|
2284
2285
|
};
|
|
@@ -2309,6 +2310,8 @@ const $9e29a4f60318db7a$var$Detail = (props)=>{
|
|
|
2309
2310
|
// }
|
|
2310
2311
|
if (paralogs.length > 1 && atlasExperiment) paralogs_url = `https://dev.gramene.org/static/atlasWidget.html?genes=${paralogs.join(' ')}&experiment=${atlasExperiment}&localAPI=${isLocal}`;
|
|
2311
2312
|
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)((0, $gXNCa$reactbootstrap.Tabs), {
|
|
2313
|
+
activeKey: activeTab,
|
|
2314
|
+
onSelect: (k)=>setActiveTab(k),
|
|
2312
2315
|
children: [
|
|
2313
2316
|
paralogs_url && /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)((0, $gXNCa$reactbootstrap.Tab), {
|
|
2314
2317
|
tabClassName: "gxa",
|
|
@@ -2328,7 +2331,7 @@ const $9e29a4f60318db7a$var$Detail = (props)=>{
|
|
|
2328
2331
|
]
|
|
2329
2332
|
}, idx))
|
|
2330
2333
|
}),
|
|
2331
|
-
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)($9e29a4f60318db7a$var$DynamicIframe, {
|
|
2334
|
+
activeTab === "paralogs" && /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)($9e29a4f60318db7a$var$DynamicIframe, {
|
|
2332
2335
|
url: paralogs_url
|
|
2333
2336
|
})
|
|
2334
2337
|
]
|
|
@@ -2337,7 +2340,7 @@ const $9e29a4f60318db7a$var$Detail = (props)=>{
|
|
|
2337
2340
|
tabClassName: "gxa",
|
|
2338
2341
|
eventKey: "gene",
|
|
2339
2342
|
title: "All Studies",
|
|
2340
|
-
children: /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)($9e29a4f60318db7a$var$DynamicIframe, {
|
|
2343
|
+
children: activeTab === "gene" && /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)($9e29a4f60318db7a$var$DynamicIframe, {
|
|
2341
2344
|
url: gene_url
|
|
2342
2345
|
})
|
|
2343
2346
|
}, "gxa"),
|
|
@@ -3512,10 +3515,13 @@ const $283508ffcf8a47c4$var$AccessionLink = ({ germplasm: germplasm, gene_id: ge
|
|
|
3512
3515
|
})
|
|
3513
3516
|
]
|
|
3514
3517
|
});
|
|
3515
|
-
if (germplasm.pop_id === '15' && germplasm.stock_center === 'NOT FOUND') return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.
|
|
3518
|
+
if (germplasm.pop_id === '15' && germplasm.stock_center === 'NOT FOUND') return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("a", {
|
|
3516
3519
|
target: "_blank",
|
|
3517
3520
|
href: $283508ffcf8a47c4$var$ggURL['maizeGDB'],
|
|
3518
|
-
children:
|
|
3521
|
+
children: [
|
|
3522
|
+
germplasm.pub_id,
|
|
3523
|
+
" (SNPVersity)"
|
|
3524
|
+
]
|
|
3519
3525
|
});
|
|
3520
3526
|
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("span", {
|
|
3521
3527
|
children: germplasm.pub_id
|
|
@@ -3578,7 +3584,7 @@ function $283508ffcf8a47c4$var$group_germplasm(gene, germplasmLUT, vep_obj) {
|
|
|
3578
3584
|
return grouped;
|
|
3579
3585
|
}
|
|
3580
3586
|
const $283508ffcf8a47c4$var$THRESHOLD = 5;
|
|
3581
|
-
const $283508ffcf8a47c4$var$GridWithGroups = ({ groups: groups, gene_id: gene_id })=>{
|
|
3587
|
+
const $283508ffcf8a47c4$var$GridWithGroups = ({ groups: groups, gene_id: gene_id, doGrin: doGrin })=>{
|
|
3582
3588
|
const [rowData, setRowData] = (0, $gXNCa$react.useState)(groups);
|
|
3583
3589
|
const initialExpanded = {};
|
|
3584
3590
|
rowData.forEach((row)=>{
|
|
@@ -3633,7 +3639,7 @@ const $283508ffcf8a47c4$var$GridWithGroups = ({ groups: groups, gene_id: gene_id
|
|
|
3633
3639
|
},
|
|
3634
3640
|
{
|
|
3635
3641
|
field: 'accession',
|
|
3636
|
-
headerName: 'Order Germplasm',
|
|
3642
|
+
headerName: doGrin ? 'Order Germplasm' : 'Accession',
|
|
3637
3643
|
flex: 1,
|
|
3638
3644
|
headerComponent: (props)=>{
|
|
3639
3645
|
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("div", {
|
|
@@ -3642,10 +3648,10 @@ const $283508ffcf8a47c4$var$GridWithGroups = ({ groups: groups, gene_id: gene_id
|
|
|
3642
3648
|
alignItems: 'center'
|
|
3643
3649
|
},
|
|
3644
3650
|
children: [
|
|
3645
|
-
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("i", {
|
|
3646
|
-
className: "fas fa-shopping-cart"
|
|
3651
|
+
doGrin && /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("i", {
|
|
3652
|
+
className: "fas fa-shopping-cart",
|
|
3653
|
+
children: "\xa0"
|
|
3647
3654
|
}),
|
|
3648
|
-
"\xa0",
|
|
3649
3655
|
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("span", {
|
|
3650
3656
|
children: props.displayName
|
|
3651
3657
|
})
|
|
@@ -3754,7 +3760,8 @@ const $283508ffcf8a47c4$var$Detail = (props)=>{
|
|
|
3754
3760
|
}),
|
|
3755
3761
|
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)($283508ffcf8a47c4$var$GridWithGroups, {
|
|
3756
3762
|
groups: groups,
|
|
3757
|
-
gene_id: gene._id
|
|
3763
|
+
gene_id: gene._id,
|
|
3764
|
+
doGrin: !props.configuration.hasOwnProperty('noGRIN')
|
|
3758
3765
|
})
|
|
3759
3766
|
]
|
|
3760
3767
|
});
|