mw55309 / poRe_docs

17 stars 5 forks source link

Error in `colnames #1

Open abayega opened 8 years ago

abayega commented 8 years ago

Hi,

I don't understand why am getting this error when I run; meta <- read.fast5.info(newbc) command. Even just copying the folder into the same directory (/extdata/f5/) and renaming it and then running the command gives the same error below;

Error in colnames<-(*tmp*, value = c("aname", "atime", "len2d", "tlen", : length of 'dimnames' [2] not equal to array extent

filicado commented 7 years ago

Same issue here

mw55309 commented 7 years ago

Hi Both

Which version of poRe are you using?

Can you post:

sessionInfo()

and then the exact code you are using?

Cheers Mick

mw55309 commented 7 years ago

Just FYI, this works:

newbc <- system.file("/extdata/f5/new_bc", package="poRe") meta <- read.fast5.info(newbc)

This doesn't

newbc <- system.file("/extdata/f5/new_bc") meta <- read.meta.info(newbc) Error in colnames<-(*tmp*, value = c("filename", "channel_num", "read_num", : length of 'dimnames' [2] not equal to array extent

In the latter case, it's because newbc is empty

Cheers Mick