zhengxwen / SeqArray

Data management of large-scale whole-genome sequence variant calls (Development version only)
http://www.bioconductor.org/packages/SeqArray
44 stars 12 forks source link

a bug in seqParallel() (SeqArray_1.10.5) #11

Closed zhengxwen closed 9 years ago

zhengxwen commented 9 years ago
library(SeqArray)
library(parallel)

cl <- makeCluster(2)

f <- seqOpen(seqExampleFileName("gds"))

seqParallel(cl, f, FUN=function(f) { objdesp.gdsn(index.gdsn(f, "sample.id")) })

returns an error:

Error in .DynamicClusterCall(cl, length(cl), .fun = function(.idx, .n_process,  : 
  One of the nodes produced an error: Invalid GDS node object (it was closed or deleted).