Closed mukils15 closed 5 years ago
Documentation seems to be wrong. See https://github.com/pymzml/pymzML/blob/master/pymzml/run.py where Reader is implemented and Writer is not. Documentation seems to be optimistic about the availability of Writer method
@fu - doc states 'Writer' is still in development. Do you know if anyone has a working version of the writer method. Any other way of saving the processed spectra would be helpful too. Thanks.
Hi,
indeed the mzML writing is currently not supported.
But have a look at this module for mzML and mzIdemtML writing: psims
Cheers, Johannes
Thanks @JB-MS.
@mukils15 - take a look at the psims module. You should be able to import it and use it as described in the documentation: writing MZML
The documentation linked at github is deprecated, thats true. The newest docu can be found here: https://pymzml.readthedocs.io/en/latest/index.html We removed the writer after version 0.7 since it was a very simple implementation with a lot of shortcomings. I'll link the new docu and add a link to psims for people that need to write mzMLs
I am relatively new to using pyzMZML, and am trying to write average spectra to a new file using run.Writer, which I found on the pyMZML documentation. However, I get an error that the pymzml.run module has no attribute Writer:
AttributeError Traceback (most recent call last)