@@ -43,35 +43,35 @@ describe("HCAProjectComponent", () => {
4343 const PROJECT_DETAIL_PROJECT_MATRIX_URLS = new ProjectMatrixUrls ( "2cd14cf5-f8e0-4c97-91a2-9e8957f41ea8" , "https://dev.data.humancellatlas.org/project-assets/project-matrices/537f5501-a964-4ade-91c8-7bd4a23b049d.csv.zip" , "https://dev.data.humancellatlas.org/project-assets/project-matrices/537f5501-a964-4ade-91c8-7bd4a23b049d.loom" , "https://dev.data.humancellatlas.org/project-assets/project-matrices/537f5501-a964-4ade-91c8-7bd4a23b049d.mtx.zip" ) ;
4444
4545 // Project details
46- const PROJECT_LABEL_ANALYSIS_PROTOCOL = "Analysis Protocol" ;
47- const PROJECT_LABEL_CELL_COUNT_ESTIMATE = "Cell Count Estimate" ;
4846 const PROJECT_LABEL_DONOR_COUNT = "Donor Count" ;
4947 const PROJECT_LABEL_FILE_FORMAT = "File Format" ;
50- const PROJECT_LABEL_KNOWN_DISEASES = "Known Diseases (Specimen)" ;
51- const PROJECT_LABEL_LIBRARY_CONSTRUCTION_METHOD = "Library Construction Method" ;
48+ const PROJECT_LABEL_DISEASE = "Disease Status" ;
49+ const PROJECT_LABEL_GENUS_SPECIES = "Species" ;
50+ const PROJECT_LABEL_LIBRARY_CONSTRUCTION_APPROACH = "Library Construction Method" ;
5251 const PROJECT_LABEL_ORGAN = "Organ" ;
5352 const PROJECT_LABEL_ORGAN_PART = "Organ Part" ;
5453 const PROJECT_LABEL_MODEL_ORGAN = "Model Organ" ;
5554 const PROJECT_LABEL_PAIRED_END = "Paired End" ;
56- const PROJECT_LABEL_PROJECT_LABEL = "Project Label" ;
57- const PROJECT_LABEL_SAMPLE_TYPE = "Sample Type" ;
58- const PROJECT_LABEL_SPECIES = "Species" ;
55+ const PROJECT_LABEL_PROJECT_SHORTNAME = "Project Label" ;
56+ const PROJECT_LABEL_SAMPLE_ENTITY_TYPE = "Sample Type" ;
57+ const PROJECT_LABEL_TOTAL_CELLS = "Cell Count Estimate" ;
58+ const PROJECT_LABEL_WORKFLOW = "Analysis Protocol" ;
5959
6060 // Project detail display order
6161 // Model organ and analysis protocol display conditionally, controlled by sample type and workflow values respectively
6262 const PROJECT_DETAIL_DISPLAY_ORDER = [
63- PROJECT_LABEL_PROJECT_LABEL ,
64- PROJECT_LABEL_SPECIES ,
65- PROJECT_LABEL_SAMPLE_TYPE ,
63+ PROJECT_LABEL_PROJECT_SHORTNAME ,
64+ PROJECT_LABEL_GENUS_SPECIES ,
65+ PROJECT_LABEL_SAMPLE_ENTITY_TYPE ,
6666 PROJECT_LABEL_ORGAN ,
6767 PROJECT_LABEL_ORGAN_PART ,
6868 PROJECT_LABEL_MODEL_ORGAN ,
69- PROJECT_LABEL_KNOWN_DISEASES ,
70- PROJECT_LABEL_LIBRARY_CONSTRUCTION_METHOD ,
69+ PROJECT_LABEL_DISEASE ,
70+ PROJECT_LABEL_LIBRARY_CONSTRUCTION_APPROACH ,
7171 PROJECT_LABEL_PAIRED_END ,
72- PROJECT_LABEL_ANALYSIS_PROTOCOL ,
72+ PROJECT_LABEL_WORKFLOW ,
7373 PROJECT_LABEL_FILE_FORMAT ,
74- PROJECT_LABEL_CELL_COUNT_ESTIMATE ,
74+ PROJECT_LABEL_TOTAL_CELLS ,
7575 PROJECT_LABEL_DONOR_COUNT
7676 ] ;
7777
@@ -153,7 +153,7 @@ describe("HCAProjectComponent", () => {
153153 fixture . detectChanges ( ) ;
154154
155155 // Confirm "Sample Type" is displayed
156- expect ( isProjectDetailLabelDisplayed ( PROJECT_LABEL_SAMPLE_TYPE ) ) . toEqual ( true ) ;
156+ expect ( isProjectDetailLabelDisplayed ( PROJECT_LABEL_SAMPLE_ENTITY_TYPE ) ) . toEqual ( true ) ;
157157 } ) ;
158158
159159 /**
@@ -171,7 +171,7 @@ describe("HCAProjectComponent", () => {
171171 fixture . detectChanges ( ) ;
172172
173173 // Confirm "Unspecified" is displayed
174- expect ( getProjectDetailValue ( PROJECT_LABEL_SAMPLE_TYPE ) ) . toEqual ( "Unspecified" ) ;
174+ expect ( getProjectDetailValue ( PROJECT_LABEL_SAMPLE_ENTITY_TYPE ) ) . toEqual ( "Unspecified" ) ;
175175 } ) ;
176176
177177 /**
@@ -189,7 +189,7 @@ describe("HCAProjectComponent", () => {
189189 fixture . detectChanges ( ) ;
190190
191191 // Confirm "Unspecified" is displayed
192- expect ( getProjectDetailValue ( PROJECT_LABEL_SAMPLE_TYPE ) ) . toEqual ( "Unspecified" ) ;
192+ expect ( getProjectDetailValue ( PROJECT_LABEL_SAMPLE_ENTITY_TYPE ) ) . toEqual ( "Unspecified" ) ;
193193 } ) ;
194194
195195 /**
@@ -207,7 +207,7 @@ describe("HCAProjectComponent", () => {
207207 fixture . detectChanges ( ) ;
208208
209209 // Confirm single value is displayed
210- expect ( getProjectDetailValue ( PROJECT_LABEL_SAMPLE_TYPE ) ) . toEqual ( PROJECT_DETAIL_SINGLE_VALUES . sampleEntityType ) ;
210+ expect ( getProjectDetailValue ( PROJECT_LABEL_SAMPLE_ENTITY_TYPE ) ) . toEqual ( PROJECT_DETAIL_SINGLE_VALUES . sampleEntityType ) ;
211211 } ) ;
212212
213213 /**
@@ -225,7 +225,7 @@ describe("HCAProjectComponent", () => {
225225 fixture . detectChanges ( ) ;
226226
227227 // Confirm single value is displayed
228- expect ( getProjectDetailValue ( PROJECT_LABEL_SAMPLE_TYPE ) ) . toEqual ( PROJECT_DETAIL_MULTIPLE_VALUES . sampleEntityType ) ;
228+ expect ( getProjectDetailValue ( PROJECT_LABEL_SAMPLE_ENTITY_TYPE ) ) . toEqual ( PROJECT_DETAIL_MULTIPLE_VALUES . sampleEntityType ) ;
229229 } ) ;
230230
231231 /**
@@ -350,7 +350,7 @@ describe("HCAProjectComponent", () => {
350350 fixture . detectChanges ( ) ;
351351
352352 // Confirm "Analysis Protocol" is displayed
353- expect ( isProjectDetailLabelDisplayed ( PROJECT_LABEL_ANALYSIS_PROTOCOL ) ) . toEqual ( true ) ;
353+ expect ( isProjectDetailLabelDisplayed ( PROJECT_LABEL_WORKFLOW ) ) . toEqual ( true ) ;
354354 } ) ;
355355
356356 /**
@@ -368,7 +368,7 @@ describe("HCAProjectComponent", () => {
368368 fixture . detectChanges ( ) ;
369369
370370 // Confirm "Analysis Protocol" is not displayed
371- expect ( isProjectDetailLabelDisplayed ( PROJECT_LABEL_ANALYSIS_PROTOCOL ) ) . toEqual ( false ) ;
371+ expect ( isProjectDetailLabelDisplayed ( PROJECT_LABEL_WORKFLOW ) ) . toEqual ( false ) ;
372372 } ) ;
373373
374374 /**
0 commit comments