Files
LPP/examples/test_cfg.py
danielque 539fd060c2 python 3 compatibility for examples/*.py files
add from __future__ import
print statement -> print() function
xrange -> range
map() -> list(map())
range() -> list(range())
StandardError -> Exception
2023-08-10 13:25:36 +02:00

13 lines
225 B
Python

# simple test of cfg tool
# requires files/dump.peptide.*
# creates tmp*.cfg
d = dump("files/dump.peptide.*")
d.sort()
x = cfg(d)
x.one()
x.many()
x.single(0,"tmp.single")
print("all done ... type CTRL-D to exit Pizza.py")