Closed StSchulze closed 5 years ago
I hacked in a little fix and did one small test which worked. I'll do further testing before merging, but it would be nice if this works for you
Great, thanks, that seems to do the trick. At least this spectrum is not causing problems anymore. I'll let you know if some other issue related to this shows up.
Fixed with #133
I recently started using the ThermoRawFileParser to generate mzML files. However, it seems like there can be empty spectra in these outputs (which doesn't seem to be the case for conversion with ProteoWizard). spec.peaks fails for these empty specs with the following error;
I guess one could change _get_encoding_parameters() to return None for empty specs, but I'm not exactly sure how this would effect everything else!?
Byt the way, the empty spec looks like this: