Skip to content

[Bioc-devel] Bug in GenomicRanges:::compare

2 messages · Peter Hickey, Martin Morgan

#
Hi Martin, 

The last element of 'x' is never accessed in a call to the internal function GenomicRanges:::.compare when 'GenomicRanges = TRUE'. The attached patch fixes this.

Cheers,
Pete
===================================================================
--- R/SummarizedExperiment-class.R	(revision 94987)
+++ R/SummarizedExperiment-class.R	(working copy)
@@ -635,7 +635,7 @@
x <- lapply(x, unlist) 
x1 <- x[[1]]
}
- for (i in seq_along(x[-1])) {
+ for (i in seq_along(x)[-1]) {
if (length(x1) != length(x[[i]]))
return(FALSE)
ok <- x1 == x[[i]]

______________________________________________________________________
The information in this email is confidential and intend...{{dropped:6}}
#
Thanks Pete this is fixed in 1.17.46. Martin
On 10/05/2014 04:25 PM, Peter Hickey wrote: