Skip to content

Commit 5b659db

Browse files
authored
Merge pull request #1611 from AlexsLemonade/nozomione/1595-fix-type-in-get-files-summary
Fix a typo in the Download File Summary section on My Dataset page
2 parents 3116a52 + 721ac34 commit 5b659db

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api/scpca_portal/models/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def get_files_summary(self) -> list[dict]:
391391
"libraries": spatial_libraries,
392392
},
393393
{
394-
"name": "Bulk-RNA seq samples",
394+
"name": "Bulk RNA-seq samples",
395395
"format": ".tsv",
396396
"samples": bulk_samples,
397397
"libraries": bulk_libraries,

api/scpca_portal/test/models/test_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ def test_get_files_summary(self):
702702
# Single-cell multiplexed should be included here
703703
{"samples_count": 2, "name": "Single-nuclei multiplexed samples", "format": ".rds"},
704704
{"samples_count": 1, "name": "Spatial samples", "format": "Spatial format"},
705-
{"samples_count": 1, "name": "Bulk-RNA seq samples", "format": ".tsv"},
705+
{"samples_count": 1, "name": "Bulk RNA-seq samples", "format": ".tsv"},
706706
]
707707

708708
single_cell_files_summary = single_cell_dataset.get_files_summary()
@@ -742,7 +742,7 @@ def test_get_files_summary(self):
742742
expected_ann_data = [
743743
{"samples_count": 4, "name": "Single-cell samples", "format": ".h5ad"},
744744
{"samples_count": 1, "name": "Single-cell samples with CITE-seq", "format": ".h5ad"},
745-
{"samples_count": 1, "name": "Bulk-RNA seq samples", "format": ".tsv"},
745+
{"samples_count": 1, "name": "Bulk RNA-seq samples", "format": ".tsv"},
746746
]
747747

748748
ann_data_files_summary = ann_data_dataset.get_files_summary()

0 commit comments

Comments
 (0)