Skip to content

Commit 5859d49

Browse files
authored
Merge pull request #1296 from microbiomedata/1175-update-envo-group-name
Use more descriptive section name for envo terms
2 parents 27e56d5 + 606e624 commit 5859d49

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

web/src/components/FacetedSearch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const groupOrders = [
1010
'function',
1111
'sample',
1212
'gold ecosystems',
13-
'envo',
13+
'mixs environmental triad',
1414
'omics processing',
1515
];
1616

web/src/encoding.ts

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ const fields: Record<string, FieldsData> = {
231231
hideAttr: true,
232232
},
233233
collection_date: {
234+
name: 'Collection Date',
234235
icon: 'mdi-calendar',
235236
},
236237
ecosystem_path_id: {
@@ -256,9 +257,22 @@ const fields: Record<string, FieldsData> = {
256257
},
257258
gold_classification: {
258259
icon: 'mdi-pine-tree',
260+
name: 'GOLD Classification',
259261
group: 'GOLD Ecosystems',
260262
sortKey: 0,
261263
},
264+
instrument_name: {
265+
name: 'Instrument Name',
266+
group: 'Omics Processing',
267+
},
268+
omics_type: {
269+
name: 'Omics Type',
270+
group: 'Omics Processing',
271+
},
272+
processing_institution: {
273+
name: 'Processing Institution',
274+
group: 'Omics Processing',
275+
},
262276
/* GOLD ecosystem type */
263277
ecosystem: {
264278
icon: 'mdi-pine-tree',
@@ -291,26 +305,26 @@ const fields: Record<string, FieldsData> = {
291305
hideFacet: true,
292306
},
293307
/* END GOLD ecosystem type */
294-
/* ENVO terms */
308+
/* MIxS Environmental Triad terms */
295309
env_broad_scale: {
296310
name: 'Broad-scale Environmental Context',
297-
group: 'ENVO',
311+
group: 'MIxS Environmental Triad',
298312
sortKey: 1,
299313
},
300314
env_local_scale: {
301315
name: 'Local Environmental Context',
302-
group: 'ENVO',
316+
group: 'MIxS Environmental Triad',
303317
sortKey: 2,
304318
},
305319
env_medium: {
306-
name: 'Environmental medium',
307-
group: 'ENVO',
320+
name: 'Environmental Medium',
321+
group: 'MIxS Environmental Triad',
308322
sortKey: 3,
309323
},
310324
open_in_gold: {
311325
icon: 'mdi-link',
312326
},
313-
/* END ENVO terms */
327+
/* END MIxS Environmental Triad terms */
314328
/* disable uniques */
315329
scientific_objective: {
316330
hideFacet: true,

web/src/views/Search/SearchSidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const FunctionSearchFacets: SearchFacet[] = [
2626
field: 'id',
2727
table: 'gene_function',
2828
},
29-
/** ENVO */
29+
/** MIxS Environmental Triad */
3030
{
3131
field: 'env_broad_scale',
3232
table: 'biosample',

0 commit comments

Comments
 (0)