From dce7a910b657230b383ba072eebb4e9b74bd6561 Mon Sep 17 00:00:00 2001
From: Nico Maillet <nicolas.maillet@pasteur.fr>
Date: Mon, 12 Apr 2021 16:56:35 +0200
Subject: [PATCH] Version 1.2.2

---
 CHANGELOG.rst                 | 3 +++
 docs/conf.py                  | 2 +-
 rpg/RapidPeptidesGenerator.py | 2 +-
 setup.py                      | 2 +-
 4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index d88173e..20e690b 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,6 +1,9 @@
 =========
 CHANGELOG
 =========
+- 1.2.2
+    Correct a major bug arising when a new enzyme is define with at least 3 amino acids while the first one being the cleaving site
+
 - 1.2.1
     Add functional tests
 
diff --git a/docs/conf.py b/docs/conf.py
index 4f33d04..b725c54 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,7 +26,7 @@ author = 'Nicolas Maillet'
 # The short X.Y version
 version = ''
 # The full version, including alpha/beta/rc tags
-release = '1.2.1'
+release = '1.2.2'
 
 
 # -- General configuration ---------------------------------------------------
diff --git a/rpg/RapidPeptidesGenerator.py b/rpg/RapidPeptidesGenerator.py
index 0dace5f..f7177d6 100644
--- a/rpg/RapidPeptidesGenerator.py
+++ b/rpg/RapidPeptidesGenerator.py
@@ -29,7 +29,7 @@
 necessary functions
 """
 
-__version_info__ = ('1', '2', '1')
+__version_info__ = ('1', '2', '2')
 __version__ = '.'.join(__version_info__)
 __revision_date__ = "2021-02-03"
 __author__ = "Nicolas Maillet"
diff --git a/setup.py b/setup.py
index ed894e3..e59629d 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ setup(
     # For a discussion on single-sourcing the version across setup.py and the
     # project code, see
     # https://packaging.python.org/en/latest/single_source_version.html
-    version='1.2.1',  # Required
+    version='1.2.2',  # Required
 
     # This is a one-line description or tagline of what your project does. This
     # corresponds to the "Summary" metadata field:
-- 
GitLab