Closed lgatto closed 13 years ago
Hi,
The file has only the odd spectrum ids, so RAMP "fills-in" the even ids, with no or illegal data.
Ah, XML in github comments get lost in above comment :-(
I committed a fix, which makes declaredOnly = TRUE the default behavior.
We still need to 1) remove declaredOnly altogether or b) fix access to empty scans in header().
Yours, Steffen
Test data is experiment 12011 downloaded from PRIDE.
* caught segfault * address 0x8, cause 'memory not mapped'
Traceback: 1: .External(list(name = "CppMethod__invoke_notvoid", address = <pointer: 0x38\ 9ba50>, dll = list(name = "Rcpp", path = "/usr/local/lib64/R/library/Rcpp/l\ ibs/Rcpp.so", dynamicLookup = TRUE, handle = <pointer: 0x2bce2f0>, \ info = <pointer: 0x7f1f28cf6300>), numParameters = -1L), <pointer: 0x35\ 02c90>, <pointer: 0x2db93e0>, .pointer, ...) 2: object@ramp$getScanHeaderInfo(scans) 3: .local(object, scans, ...) 4: header(mzd, 2) 5: header(mzd, 2)
Header is suspicious. There is of course no msLevel="-1" in the original file, rather msLevels 1 and 2. peaks(mzd,2) returns empty dataframe.