gramene-search 1.6.34 → 1.6.36

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
- 261866942
2
- 1752852912270260000
1
+ 298346500
2
+ 1753919216257400000
package/dist/index.js CHANGED
@@ -94,7 +94,7 @@ $parcel$export(module.exports, "Views", () => $693dd8c7a5607c3a$export$5cb791131
94
94
 
95
95
 
96
96
  const $9d9aeaf9299e61a1$var$facets = [
97
- "{!facet.limit='200' facet.mincount='1' key='taxon_id'}taxon_id",
97
+ "{!facet.limit='300' facet.mincount='1' key='taxon_id'}taxon_id",
98
98
  "{!facet.limit='100' facet.mincount='1' key='genetree'}gene_tree",
99
99
  "{!facet.limit='100' facet.mincount='1' key='pathways'}pathways__ancestors",
100
100
  "{!facet.limit='100' facet.mincount='1' key='domains'}domain_roots",
@@ -2286,14 +2286,14 @@ const $9e29a4f60318db7a$var$Detail = (props)=>{
2286
2286
  (0, $gXNCa$react.useEffect)(()=>{
2287
2287
  const tid = Math.floor(gene.taxon_id / 1000);
2288
2288
  if (props.expressionStudies[tid]) {
2289
- let eList = props.expressionStudies[tid];
2289
+ let eList = props.expressionStudies[tid].sort((a, b)=>{
2290
+ const a_name = `${a.type}:${a.description || a._id}`;
2291
+ const b_name = `${b.type}:${b.description || b._id}`;
2292
+ return a_name < b_name ? -1 : 1;
2293
+ });
2290
2294
  if (props.searchResult.hasOwnProperty('expressed_in_gxa_attr_ss')) {
2291
2295
  const in_gxa = new Set(props.searchResult.expressed_in_gxa_attr_ss);
2292
- eList = props.expressionStudies[tid].filter((e)=>in_gxa.has(e._id)).sort((a, b)=>{
2293
- const a_name = `${a.type}:${a.description || a._id}`;
2294
- const b_name = `${b.type}:${b.description || b._id}`;
2295
- return a_name < b_name ? -1 : 1;
2296
- });
2296
+ eList = eList.filter((e)=>in_gxa.has(e._id));
2297
2297
  }
2298
2298
  setAtlasExperimentList(eList);
2299
2299
  let refExp = eList.filter((e)=>e.isRef);