Skip to content

Commit

Permalink
Fix tests for loading 10X Visium data
Browse files Browse the repository at this point in the history
  • Loading branch information
mojaveazure committed Dec 4, 2019
1 parent b6e7a22 commit 32e970e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Empty file modified tests/testdata/visium/spatial/scalefactors_json.json
100755 → 100644
Empty file.
Empty file modified tests/testdata/visium/spatial/tissue_lowres_image.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/testthat/test_load_10X.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test_that("10x Spatial Data Parsing", {
expect_equal(ncol(x = txsp), 2695)
expect_equal(nrow(x = txsp), 100)
expect_equal(Cells(x = txsp)[1], "AAACAAGTATCTCCCA-1")
expect_equal(names(x = txsp), "Spatial")
expect_equal(Assays(object = txsp), "Spatial")
expect_equal(GetAssayData(object = txsp[["Spatial"]], slot = "counts")[5, 9], 1)
})

Expand Down

0 comments on commit 32e970e

Please sign in to comment.