Skip to content

Commit

Permalink
Fix SyntaxError on Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
levitsky committed Jun 17, 2022
1 parent 6916dbe commit b9fabac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
@@ -1,10 +1,11 @@
4.5.4a3
4.5.4a4
-------

- Fix issue #74.
- In :func:`pyteomics.auxiliary.fdr`, raise :exc:`PyteomicsError` instead of :exc:`ZeroDivisionError` when
using formula 1 on input without any target PSMs.
- Provide more accurate amino acid masses in :py:data:`mass.std_aa_mass`.
- Fix SyntaxError in :py:mod:`pyteomics.pylab_aux` on Python 2.7.

4.5.3
-----
Expand Down
2 changes: 1 addition & 1 deletion pyteomics/pylab_aux.py
Expand Up @@ -506,7 +506,7 @@ def _default_annotate_spectrum(spectrum, peptide, *args, **kwargs):
if adjust:
adjust_text(texts, **adjust_kw)
kwargs.setdefault('zorder', -1)
return plot_spectrum(spectrum, *args, **kwargs, centroided=centroided)
return plot_spectrum(spectrum, *args, centroided=centroided, **kwargs)


def _get_precursor_charge(spectrum):
Expand Down
2 changes: 1 addition & 1 deletion pyteomics/version.py
Expand Up @@ -13,7 +13,7 @@
"""

__version__ = '4.5.4a3'
__version__ = '4.5.4a4'

from collections import namedtuple
import re
Expand Down

0 comments on commit b9fabac

Please sign in to comment.