Skip to content

Commit

Permalink
Eliminate warnings by more carefully creating an example object
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Eagles committed Oct 1, 2024
1 parent 82f1ebc commit 706c9b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-merge_overlapping.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ test_that(

# Built a small SPE containing some overlaps and some non-overlapping spots
small_spe = spe[, c(overlapping_keys, nonoverlapping_keys)]
assays(small_spe) = list(counts = assays(small_spe)$counts)
reducedDims(small_spe) = list()

# Merge overlapping spots
small_spe_merged = merge_overlapping(small_spe)
Expand Down

0 comments on commit 706c9b6

Please sign in to comment.