Skip to content

Commit

Permalink
add missing census_version param (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Martin authored Jul 19, 2023
1 parent a9e9419 commit 6d79e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/python/cellxgene_census/tests/test_open.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_get_source_h5ad_uri() -> None:
rng = np.random.default_rng()
for idx in rng.choice(np.arange(len(census_datasets)), size=3, replace=False):
a_dataset = census_datasets.iloc[idx]
locator = cellxgene_census.get_source_h5ad_uri(a_dataset.dataset_id)
locator = cellxgene_census.get_source_h5ad_uri(a_dataset.dataset_id, census_version="latest")
assert isinstance(locator, dict)
assert "uri" in locator
assert locator["uri"].endswith(a_dataset.dataset_h5ad_path)
Expand Down

0 comments on commit 6d79e8b

Please sign in to comment.