File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
viewModelBuilders/azul/hca-dcp/common/dataSummaryMapper Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ const {
30
30
NUCLEIC_ACID_SOURCE ,
31
31
ORGAN_PART ,
32
32
ORGANISM_TYPE ,
33
- PAIRED_END ,
34
33
PHENOTYPIC_SEX ,
35
34
PLATFORM ,
36
35
REPORTED_ETHNICITY ,
@@ -94,7 +93,6 @@ export const PLURALIZED_METADATA_LABEL = {
94
93
[ NUCLEIC_ACID_SOURCE ] : "nucleic acid sources" ,
95
94
[ ORGANISM_TYPE ] : "organism types" ,
96
95
[ ORGAN_PART ] : "organ parts" ,
97
- [ PAIRED_END ] : "values" ,
98
96
[ PHENOTYPIC_SEX ] : "phenotypic sexes" ,
99
97
[ PLATFORM ] : "platforms" ,
100
98
[ REPORTED_ETHNICITY ] : "reported ethnicities" ,
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ export enum METADATA_KEY {
24
24
NUCLEIC_ACID_SOURCE = "NUCLEIC_ACID_SOURCE" ,
25
25
ORGAN_PART = "ORGAN_PART" ,
26
26
ORGANISM_TYPE = "ORGANISM_TYPE" ,
27
- PAIRED_END = "PAIRED_END" ,
28
27
PHENOTYPIC_SEX = "PHENOTYPIC_SEX" ,
29
28
PLATFORM = "PLATFORM" ,
30
29
REPORTED_ETHNICITY = "REPORTED_ETHNICITY" ,
Original file line number Diff line number Diff line change 1
1
import { LABEL } from "@clevercanary/data-explorer-ui/lib/apis/azul/common/entities" ;
2
+ import { stringifyValues } from "@clevercanary/data-explorer-ui/lib/common/utils" ;
2
3
import { Value } from "@clevercanary/data-explorer-ui/lib/components/common/KeyValuePairs/keyValuePairs" ;
3
4
import { NTagCell } from "@clevercanary/data-explorer-ui/lib/components/Index/components/NTagCell/nTagCell" ;
4
5
import { ANCHOR_TARGET } from "@clevercanary/data-explorer-ui/lib/components/Links/common/entities" ;
@@ -234,13 +235,7 @@ export function mapProjectDataSummary(
234
235
values : nucleicAcidSource ,
235
236
} )
236
237
) ; // Nucleic Acid Source
237
- details . set (
238
- DATA_SUMMARY . PAIRED_END ,
239
- NTagCell ( {
240
- label : getPluralizedMetadataLabel ( METADATA_KEY . PAIRED_END ) ,
241
- values : pairedEnd ,
242
- } )
243
- ) ; // Paired End
238
+ details . set ( DATA_SUMMARY . PAIRED_END , stringifyValues ( pairedEnd ) ) ; // Paired End
244
239
// Workflow will not display if "Unspecified".
245
240
if ( isWorkflowSpecified ( workflow ) ) {
246
241
details . set ( DATA_SUMMARY . WORKFLOW , getWorkflowValue ( workflow ) ) ; // Analysis Protocol
You can’t perform that action at this time.
0 commit comments