File: simpleParser_d.py

package info (click to toggle)
python-pymzml 0.7.6-dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 66,128 kB
  • ctags: 335
  • sloc: python: 2,428; makefile: 142; sh: 38
file content (7 lines) | stat: -rwxr-xr-x 217 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/usr/bin/env python3.2
import pymzml, sys
run = pymzml.run.Reader(sys.argv[1])
with open("pyOutput.txt","w") as io:
    for spec in run:
        for m,i in spec.peaks:
            io.write("{0}\t{1}\n".format(m,i))