alexarnimueller / modlAMP

Python package for peptide sequence generation, peptide descriptor calculation and sequence analysis.
https://modlamp.org
Other
53 stars 17 forks source link

plot.py plot_aa_distr bug #12

Closed delphinas closed 4 years ago

delphinas commented 4 years ago

Hi,

There is a bug within plot.py, function plot_aa_distr. It should be as it used to be:

for a in range(20):
  plt.bar(a, list(aa.values())[a], 0.9, color=color)

Rather than (680-682):

for i, v in enumerate([k for k, w in aa.items()]):
  plt.bar(i, v, 0.9, color=color)

Vito

alexarnimueller commented 4 years ago

Hi Vito Thanks for pointing this out! No idea what happened there... Anyways, it's fixed now in 4.2.1 and ready to be updated from pip. Cheers Alex