Skip to content

Issue with Agilent Masshunter HRMS LZF decompression #27

@shildebr12

Description

@shildebr12

I'm trying to use rainbow to extract HRMS spectra from an Agilent ESI Q-TOF. I run into a problem with the decompression of the MSProfile.bin file though where the lzf decompression fails. The data that it is failing on is here: https://drive.google.com/drive/folders/1EvGi1q8owphN-IBouC_7ptvF7xORJEGz?usp=sharing

The error is:

"
File "C:\Users\hildebrs\Anaconda3\lib\site-packages\rainbow\agilent\masshunter.py", line 164, in parse_msdata
decomp_bytes = lzf.decompress(comp_bytes, decomp_len)

ValueError: error in compressed data
"

I'm using python-lzf 0.2.6

Thank you for the rainbow, by the way, it's been incredibly useful for other purposes!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions