Re: [Bioc-devel] bug when coercing from list to SimpleList

2014-09-05 Thread Michael Lawrence
Thanks, just a typo. Fixed in S4Vectors 0.2.1. On Fri, Sep 5, 2014 at 12:38 AM, Hervé Pagès wrote: > Hi Michael, > > I found the following bug when coercing a list to a SimpleList > with IRanges devel (not with IRanges release): > > library(IRanges) > x <- list(a=matrix(rep("a", 6), nrow=3)

[Bioc-devel] bug when coercing from list to SimpleList

2014-09-05 Thread Hervé Pagès
Hi Michael, I found the following bug when coercing a list to a SimpleList with IRanges devel (not with IRanges release): library(IRanges) x <- list(a=matrix(rep("a", 6), nrow=3), b=array(rep("b", 24), dim=c(3,4,2))) Then: > sapply(as(x, "SimpleList"), class) a