pymzml / pymzML

pymzML - an interface between Python and mzML Mass spectrometry Files
https://pymzml.readthedocs.io/en/latest/
MIT License
160 stars 91 forks source link

ZeroDivisionError: division by zero #215

Closed turovapolina closed 4 years ago

turovapolina commented 4 years ago

Dear all,

I am using package pymzml but one problem appeared after reinstallation of windows system on my laptop. I am trying to open mzml file with this commands:

run = pymzml.run.Reader("D:/asp/extracts/Exp1 mzml/s8/" + filename)

But unfortunately I receive this error: image

Do you have any ideas why it can happen? It worked perfectly before.

Best regards, Polina Turova

fu commented 4 years ago

Hi Polina,

do you build_index_from_scratch? Could you share you mzML with us?

Cheers

.c

turovapolina commented 4 years ago

Hi Polina,

do you build_index_from_scratch? Could you share you mzML with us?

Cheers

.c

Dear Christian,

Thank you very much for your reply! This is really weird but problem dissapeared by itself when I tryed to parse mzml file on the other day. Probably I just spontaneously chose another version which was suitable for my files. I already send to you my mail example of my mzml file and description of my errors. Thank you! And I am sorry that I disturbed you!

Best regards, Polina

fu commented 4 years ago

Awesome! No worries :)