Corrupted mass.py in 2.0.0 tarball

46 views
Skip to first unread message

David Martin

unread,
Oct 4, 2012, 5:48:57 AM10/4/12
to pyte...@googlegroups.com

Hi,

 

I’ve just downloaded the pyteomics package tarball (pyteomics-2.0.0.tar.gz) because it looks really useful. There were however problems installing it with python 2.6. The syntax of many of the files is wrong with {} instead of () to surround tuples, and the mass.py file has the indentation screwed so it is unusable (looks like the result of a bad copy and paste).

 

Is there a specific version dependency for pyteomics? This isn’t mentioned in the install documentation. I am not familiar with any changes in python 3 so don’t know if the things I find to be problems are a version issue.

 

I’m really looking forward to using it but can’t at present.

 

regards

 

..d


The University of Dundee is a registered Scottish Charity, No: SC015096

Lev Levitsky

unread,
Oct 4, 2012, 6:06:43 AM10/4/12
to pyte...@googlegroups.com, d.m.a....@dundee.ac.uk
Dear David,

thank your for your interest in pyteomics. As stated in the PyPI page (in the bottom), pyteomics works on Python versions 2.7 and newer. Starting from Python 2.7, curly brackets allow designation of sets.
The indentation in mass.py seems OK to me, as well. I just installed the 2.0 version from PyPI with pip, and it works on Python 2.7 and Python 3.2. Note that we have a small set of tests included, and we always make sure all of them work before submitting a new version to PyPI.

Hopefully, you can install a newer version of Python (2.7 at least) to make use of pyteomics.

Looking forward to your feedback,

Lev
Reply all
Reply to author
Forward
0 new messages