gramene-search 1.6.7 → 1.6.8
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/4987902b3f9787cc-BundleGraph-0 +0 -0
- package/.parcel-cache/70f1f7555dda250d-AssetGraph-0 +0 -0
- package/.parcel-cache/7b8e4611c0f03524-AssetGraph-0 +0 -0
- package/.parcel-cache/adb9e64d5da6fbba-AssetGraph-0 +0 -0
- package/.parcel-cache/d48c91545c145068-BundleGraph-0 +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/.parcel-cache/requestGraph-369948a06d23ec44-0 +0 -0
- package/.parcel-cache/requestGraph-524f09471ce7017b-0 +0 -0
- package/.parcel-cache/requestGraph-nodes-0-369948a06d23ec44-0 +0 -0
- package/.parcel-cache/requestGraph-nodes-0-524f09471ce7017b-0 +0 -0
- package/.parcel-cache/snapshot-369948a06d23ec44.txt +2 -2
- package/.parcel-cache/snapshot-524f09471ce7017b.txt +2 -0
- package/dist/index.js +0 -79
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/results/details/VEP.js +1 -54
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.parcel-cache/data.mdb
CHANGED
|
Binary file
|
package/.parcel-cache/lock.mdb
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
156006950
|
|
2
|
+
1729099800436043000
|
package/dist/index.js
CHANGED
|
@@ -3287,87 +3287,12 @@ var $54c74a4689d5a778$export$2e2bcd8739ae039 = (0, $gXNCa$reduxbundlerreact.conn
|
|
|
3287
3287
|
|
|
3288
3288
|
|
|
3289
3289
|
|
|
3290
|
-
|
|
3291
3290
|
const $283508ffcf8a47c4$var$ggURL = {
|
|
3292
3291
|
IRRI: "https://gringlobal.irri.org/gringlobal/accessiondetail?id=",
|
|
3293
3292
|
ARS: "https://npgsweb.ars-grin.gov/gringlobal/accessiondetail.aspx?id=",
|
|
3294
3293
|
ICRISAT: "https://genebank.icrisat.org/IND/PassportSummary?ID=",
|
|
3295
3294
|
sorbmutdb: "https://www.depts.ttu.edu/igcast/sorbmutdb.php"
|
|
3296
3295
|
};
|
|
3297
|
-
const $283508ffcf8a47c4$var$metaRenderer = (params)=>{
|
|
3298
|
-
if (params.value.field === "accessions") {
|
|
3299
|
-
const accs = params.value.accessions;
|
|
3300
|
-
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactbootstrap.Accordion), {
|
|
3301
|
-
children: /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)((0, $gXNCa$reactbootstrap.Accordion).Item, {
|
|
3302
|
-
children: [
|
|
3303
|
-
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactbootstrap.Accordion).Header, {
|
|
3304
|
-
children: accs.length
|
|
3305
|
-
}),
|
|
3306
|
-
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactbootstrap.Accordion).Body, {
|
|
3307
|
-
children: /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("p", {
|
|
3308
|
-
children: 'This is where the "table" goes'
|
|
3309
|
-
})
|
|
3310
|
-
})
|
|
3311
|
-
]
|
|
3312
|
-
})
|
|
3313
|
-
});
|
|
3314
|
-
}
|
|
3315
|
-
if (params.value.field === "germplasm") {
|
|
3316
|
-
const genebank = params.value.stock_center;
|
|
3317
|
-
const url = $283508ffcf8a47c4$var$ggURL[genebank];
|
|
3318
|
-
if (params.value.germplasm_dbid && url && params.value.germplasm_dbid !== "0") return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("a", {
|
|
3319
|
-
target: "_blank",
|
|
3320
|
-
href: `${url}${params.value.germplasm_dbid}`,
|
|
3321
|
-
children: [
|
|
3322
|
-
params.value.pub_id,
|
|
3323
|
-
" (",
|
|
3324
|
-
genebank,
|
|
3325
|
-
")"
|
|
3326
|
-
]
|
|
3327
|
-
});
|
|
3328
|
-
if (genebank === "sorbmutdb") return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("form", {
|
|
3329
|
-
id: params.value.pub_id,
|
|
3330
|
-
action: url,
|
|
3331
|
-
method: "post",
|
|
3332
|
-
target: "_blank",
|
|
3333
|
-
children: [
|
|
3334
|
-
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("input", {
|
|
3335
|
-
type: "hidden",
|
|
3336
|
-
name: "search",
|
|
3337
|
-
value: params.value.gene_id.replace("SORBI_3", "Sobic.")
|
|
3338
|
-
}),
|
|
3339
|
-
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("input", {
|
|
3340
|
-
type: "hidden",
|
|
3341
|
-
name: "submit",
|
|
3342
|
-
value: "Search"
|
|
3343
|
-
}),
|
|
3344
|
-
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("button", {
|
|
3345
|
-
type: "submit",
|
|
3346
|
-
className: "button-like-link",
|
|
3347
|
-
children: "SorbMutDB"
|
|
3348
|
-
})
|
|
3349
|
-
]
|
|
3350
|
-
});
|
|
3351
|
-
}
|
|
3352
|
-
if (params.value.field === "search") {
|
|
3353
|
-
const currentURL = new URL(window.location.href);
|
|
3354
|
-
currentURL.search = "";
|
|
3355
|
-
currentURL.searchParams.set("category", "Germplasm");
|
|
3356
|
-
currentURL.searchParams.set("fq_field", `VEP__merged__${params.value.pop_type}__attr_ss`);
|
|
3357
|
-
currentURL.searchParams.set("fq_value", params.value.ens_id);
|
|
3358
|
-
currentURL.searchParams.set("name", params.value.ens_id);
|
|
3359
|
-
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactbootstrap.Button), {
|
|
3360
|
-
size: "sm",
|
|
3361
|
-
href: currentURL.toString(),
|
|
3362
|
-
children: "Search"
|
|
3363
|
-
});
|
|
3364
|
-
}
|
|
3365
|
-
return params.value.label;
|
|
3366
|
-
};
|
|
3367
|
-
const $283508ffcf8a47c4$var$sortByLabel = (valueA, valueB, nodeA, nodeB, isDescending)=>{
|
|
3368
|
-
if (valueA.label === valueB.label) return 0;
|
|
3369
|
-
return valueA.label > valueB.label ? 1 : -1;
|
|
3370
|
-
};
|
|
3371
3296
|
const $283508ffcf8a47c4$var$rice_studies = {
|
|
3372
3297
|
"1": {
|
|
3373
3298
|
label: "Rice 3K",
|
|
@@ -3534,7 +3459,6 @@ const $283508ffcf8a47c4$var$GridWithGroups = ({ groups: groups, gene_id: gene_id
|
|
|
3534
3459
|
if (row.summary) initialExpanded[row.group] = row.tally < $283508ffcf8a47c4$var$THRESHOLD;
|
|
3535
3460
|
});
|
|
3536
3461
|
const [expandedGroups, setExpandedGroups] = (0, $gXNCa$react.useState)(initialExpanded);
|
|
3537
|
-
// const gridRef = useRef();
|
|
3538
3462
|
// Toggle group visibility
|
|
3539
3463
|
const toggleGroup = (group)=>{
|
|
3540
3464
|
setExpandedGroups((prevExpandedGroups)=>({
|
|
@@ -3622,9 +3546,6 @@ const $283508ffcf8a47c4$var$GridWithGroups = ({ groups: groups, gene_id: gene_id
|
|
|
3622
3546
|
const defaultColDef = {
|
|
3623
3547
|
sortable: false,
|
|
3624
3548
|
cellStyle: (params)=>{
|
|
3625
|
-
// if (!params.data.summary) {
|
|
3626
|
-
// return {paddingLeft: '30px'};
|
|
3627
|
-
// }
|
|
3628
3549
|
if (params.data.summary) return {
|
|
3629
3550
|
cursor: "pointer"
|
|
3630
3551
|
};
|