gramene-search 1.6.20 → 1.6.22

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.20",
3
+ "version": "1.6.22",
4
4
  "description": "search wrapper for gramene",
5
5
  "source": "src/index.js",
6
6
  "main": "dist/index.js",
@@ -29,9 +29,9 @@
29
29
  "firebase": "^11.0.1",
30
30
  "flat-to-nested": "^1.1.1",
31
31
  "gramene-bins-client": "^2.3.3",
32
- "gramene-dbxrefs": "^3.0.14",
32
+ "gramene-dbxrefs": "^3.0.15",
33
33
  "gramene-efp-browser": "^1.0.8",
34
- "gramene-genetree-vis": "^4.2.9",
34
+ "gramene-genetree-vis": "^4.2.10",
35
35
  "gramene-mdview": "^2.0.6",
36
36
  "gramene-search-vis": "^4.2.4",
37
37
  "gramene-taxonomy-with-genomes": "^3.0.10",
@@ -12,7 +12,8 @@ const ggURL = {
12
12
  IRRI: 'https://gringlobal.irri.org/gringlobal/accessiondetail?id=',
13
13
  ARS: 'https://npgsweb.ars-grin.gov/gringlobal/accessiondetail.aspx?id=',
14
14
  ICRISAT: 'https://genebank.icrisat.org/IND/PassportSummary?ID=',
15
- sorbmutdb: 'https://www.depts.ttu.edu/igcast/sorbmutdb.php'
15
+ sorbmutdb: 'https://www.depts.ttu.edu/igcast/sorbmutdb.php',
16
+ maizeGDB: 'https://wgs.maizegdb.org/'
16
17
  };
17
18
 
18
19
  const rice_studies = {'1': {label: 'Rice 3K', type: 'NAT'}};
@@ -62,6 +63,9 @@ const AccessionLink = ({germplasm, gene_id}) => {
62
63
  </form>
63
64
  );
64
65
  }
66
+ if (germplasm.pop_id === '15' && germplasm.stock_center === 'NOT FOUND') {
67
+ return <a target="_blank" href={ggURL['maizeGDB']}>SNPVersity 2.0</a>
68
+ }
65
69
  return <span>{germplasm.pub_id}</span>
66
70
  }
67
71
  function group_germplasm(gene, germplasmLUT, vep_obj) {
@@ -206,7 +210,6 @@ const GridWithGroups = ({groups,gene_id}) => {
206
210
  }
207
211
  },
208
212
  { field: 'synonym', headerName: 'Synonym', filter:false, sortable:false, flex: 1, cellRenderer: (params) => {
209
- console.log(params.data);
210
213
  if (params.data.accession) {
211
214
  return params.data.accession.germplasm.ens_id
212
215
  }