gramene-search 1.6.39 → 1.6.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gramene-search",
3
- "version": "1.6.39",
3
+ "version": "1.6.41",
4
4
  "description": "search wrapper for gramene",
5
5
  "source": "src/index.js",
6
6
  "main": "dist/index.js",
@@ -465,13 +465,10 @@ grameneFilters.reactGrameneFilters = createSelector(
465
465
  return { type: 'BATCH_ACTIONS', actions: actions };
466
466
  }
467
467
  if (queryObject.hasOwnProperty('sugg')) {
468
- const url = new URL(myUrl.href);
469
- url.search = '';
470
468
  return {
471
469
  type: 'BATCH_ACTIONS', actions: [
472
- {type: 'URL_UPDATED', payload: {url: url.href, replace:false}},
473
470
  {type: 'GRAMENE_SEARCH_CLEARED'},
474
- {type: 'GRAMENE_FILTER_ADDED', payload: JSON.parse(queryObject.suggestion)}
471
+ {type: 'GRAMENE_FILTER_ADDED', payload: JSON.parse(queryObject.sugg)}
475
472
  ]
476
473
  };
477
474
  }
@@ -13,7 +13,8 @@ const ggURL = {
13
13
  ARS: 'https://npgsweb.ars-grin.gov/gringlobal/accessiondetail.aspx?id=',
14
14
  ICRISAT: 'https://genebank.icrisat.org/IND/PassportSummary?ID=',
15
15
  sorbmutdb: 'https://www.depts.ttu.edu/igcast/sorbmutdb.php',
16
- maizeGDB: 'https://wgs.maizegdb.org/'
16
+ maizeGDB: 'https://wgs.maizegdb.org/',
17
+ NCBI: 'https://www.ncbi.nlm.nih.gov/biosample/?term='
17
18
  };
18
19
 
19
20
  const rice_studies = {'1': {label: 'Rice 3K', type: 'NAT'}};
@@ -33,6 +34,7 @@ const study_info = {
33
34
  },
34
35
  'oryza_sativa': {
35
36
  '7': {label: 'Rice 3K', type: 'NAT'},
37
+ '20': {label: '20K-RGP', type: 'NAT'},
36
38
  '29': {label: 'Rice USDA mini core', type: 'NAT'},
37
39
  '38': {label: 'RAPDB 2024', type: 'NAT'},
38
40
  },