evanyeyeye / rainbow

Read chromatography and mass spectrometry binary files.
GNU General Public License v3.0
29 stars 15 forks source link

lzf has no attribute decompress #14

Closed DanielQuiroz97 closed 5 months ago

DanielQuiroz97 commented 6 months ago

Issue

I am using a MAC with an M2 chip

I am trying to use the module rainbow.agilent.masshunter.parse_msdata() but I encounter the following error mesage:


---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[110], [line 1](vscode-notebook-cell:?execution_count=110&line=1)
----> [1](vscode-notebook-cell:?execution_count=110&line=1) profile = rainbow.agilent.masshunter.parse_msdata("Data/Agilent/MS1/QC_neg_5.d/AcqData")

AttributeError: module 'lzf' has no attribute 'decompress'

I succesfully intalled the lzf library (I think), but when I tried to call the lzf.decompress() module it just does not show up (Image bellow).

Screenshot 2024-03-16 at 1 16 25 AM

Any recomendations to troubleshoot this issue?

ekwan commented 6 months ago

I think lzf and python-lzf are different. Please double check your dependencies and let me know. The high res part of the library needs more development.

On Sat, Mar 16, 2024 at 1:20 AM Cristian Quiroz-Moreno < @.***> wrote:

Issue

I am using a MAC with an M2 chip

I am trying to use the module rainbow.agilent.masshunter.parse_msdata() but I encounter the following error mesage:

---------------------------------------------------------------------------AttributeError Traceback (most recent call last)Cell In[110], line 1----> 1 profile = rainbow.agilent.masshunter.parse_msdata("Data/Agilent/MS1/QC_neg_5.d/AcqData") AttributeError: module 'lzf' has no attribute 'decompress'

I succesfully intalled the lzf library (I think), but when I tried to call the lzf.decompress() module it just does not show up (Image bellow).

Screenshot.2024-03-16.at.1.16.25.AM.png (view on web) https://github.com/evanyeyeye/rainbow/assets/18486943/52c8f8a4-52f0-41a6-8859-93d6ebd4b0bf

Any recomendations to troubleshoot this issue?

— Reply to this email directly, view it on GitHub https://github.com/evanyeyeye/rainbow/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOBNIUBJIXLW63D6W4Y2B3YYPJBRAVCNFSM6AAAAABEZBADK6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DSNZYGU4TINQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

JMarvi3 commented 5 months ago

I can confirm that python-lzf has decompress and lzf does not.

ekwan commented 5 months ago

Okeydokey, closing...tldr, make sure you use python-lzf not lzf!