gramene-search 1.6.6 → 1.6.7

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.
Binary file
Binary file
@@ -1,2 +1,2 @@
1
- 152020407
2
- 1729029155640539000
1
+ 155348488
2
+ 1729099394956724000
package/dist/index.js CHANGED
@@ -3428,10 +3428,10 @@ const $283508ffcf8a47c4$var$study_info = {
3428
3428
  "oryza_sativazs97": $283508ffcf8a47c4$var$rice_studies
3429
3429
  };
3430
3430
  const $283508ffcf8a47c4$var$AccessionLink = ({ germplasm: germplasm, gene_id: gene_id })=>{
3431
+ const genebank = germplasm.stock_center;
3432
+ const url = $283508ffcf8a47c4$var$ggURL[genebank];
3431
3433
  if (germplasm.germplasm_dbid) {
3432
3434
  const germ_id = germplasm.germplasm_dbid;
3433
- const genebank = germplasm.stock_center;
3434
- const url = $283508ffcf8a47c4$var$ggURL[genebank];
3435
3435
  if (germ_id && url && germ_id !== "0") return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("a", {
3436
3436
  target: "_blank",
3437
3437
  href: `${url}${germ_id}`,
@@ -3442,30 +3442,30 @@ const $283508ffcf8a47c4$var$AccessionLink = ({ germplasm: germplasm, gene_id: ge
3442
3442
  ")"
3443
3443
  ]
3444
3444
  });
3445
- if (genebank === "sorbmutdb") return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("form", {
3446
- id: germplasm.pub_id,
3447
- action: url,
3448
- method: "post",
3449
- target: "_blank",
3450
- children: [
3451
- /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("input", {
3452
- type: "hidden",
3453
- name: "search",
3454
- value: gene_id.replace("SORBI_3", "Sobic.")
3455
- }),
3456
- /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("input", {
3457
- type: "hidden",
3458
- name: "submit",
3459
- value: "Search"
3460
- }),
3461
- /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("button", {
3462
- type: "submit",
3463
- className: "button-like-link",
3464
- children: "SorbMutDB"
3465
- })
3466
- ]
3467
- });
3468
3445
  }
3446
+ if (genebank === "sorbmutdb") return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("form", {
3447
+ id: germplasm.pub_id,
3448
+ action: url,
3449
+ method: "post",
3450
+ target: "_blank",
3451
+ children: [
3452
+ /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("input", {
3453
+ type: "hidden",
3454
+ name: "search",
3455
+ value: gene_id.replace("SORBI_3", "Sobic.")
3456
+ }),
3457
+ /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("input", {
3458
+ type: "hidden",
3459
+ name: "submit",
3460
+ value: "Search"
3461
+ }),
3462
+ /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("button", {
3463
+ type: "submit",
3464
+ className: "button-like-link",
3465
+ children: "SorbMutDB"
3466
+ })
3467
+ ]
3468
+ });
3469
3469
  return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("span", {
3470
3470
  children: germplasm.pub_id
3471
3471
  });