gramene-search 1.7.1 → 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.
Binary file
Binary file
@@ -1,2 +1,2 @@
1
- 833967987
2
- 1767984912300933000
1
+ 867516026
2
+ 1768588148639585000
package/dist/index.js CHANGED
@@ -3628,7 +3628,7 @@ const $283508ffcf8a47c4$var$study_info = {
3628
3628
  type: 'NAT'
3629
3629
  },
3630
3630
  '20': {
3631
- label: '20K-RGP',
3631
+ label: '19K-RGP',
3632
3632
  type: 'NAT'
3633
3633
  },
3634
3634
  '29': {
@@ -3642,25 +3642,25 @@ const $283508ffcf8a47c4$var$study_info = {
3642
3642
  },
3643
3643
  'oryza_aus': {
3644
3644
  '20': {
3645
- label: '20K-RGP',
3645
+ label: '19K-RGP',
3646
3646
  type: 'NAT'
3647
3647
  }
3648
3648
  },
3649
3649
  'oryza_sativa117425': {
3650
3650
  '20': {
3651
- label: '20K-RGP',
3651
+ label: '19K-RGP',
3652
3652
  type: 'NAT'
3653
3653
  }
3654
3654
  },
3655
3655
  'oryza_sativair64rs2': {
3656
3656
  '20': {
3657
- label: '20K-RGP',
3657
+ label: '19K-RGP',
3658
3658
  type: 'NAT'
3659
3659
  }
3660
3660
  },
3661
3661
  'oryza_sativamh63': {
3662
3662
  '20': {
3663
- label: '20K-RGP',
3663
+ label: '19K-RGP',
3664
3664
  type: 'NAT'
3665
3665
  }
3666
3666
  }
@@ -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