Closed lgatto closed 13 years ago
Behaviour of header(aa) after header(aa,1:length(aa)) :
library(mzR) Loading required package: Rcpp aa = openMSfile("PRIDE_Exp_mzData_Ac_8150.xml") 3: >PRIDE_Exp_mzData_Ac_8150.xml hd = header(aa) Error in object@backend$getAllScanHeaderInfo() : error calling the data.frame function hd1 = header(aa,1:length(aa))
nrow(h1) == length(aa) Error in nrow(h1) : object 'h1' not found nrow(hd1) == length(aa) [1] TRUE hd2 = header(aa) * caught segfault * address 0xf26a3c0, cause 'memory not mapped' Segmentation fault
declaredScansOnly default changed to fix this issue
Data used: experiment 8150 from PRIDE Description: Fails: header(object) Works: header(object,i); header(object,i:j); header(object,1:length(object)) Note: experiment 12011 works fine, other files tested (mzData, mzML, mzXML) work fine.