From 0f6a7da519cf348cfc2e7407b6a80a32dfb07941 Mon Sep 17 00:00:00 2001
From: Tim O'Donnell <timodonnell@gmail.com>
Date: Thu, 13 Feb 2020 14:51:34 -0500
Subject: [PATCH] fix

---
 mhcflurry/flanking_encoding.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mhcflurry/flanking_encoding.py b/mhcflurry/flanking_encoding.py
index df69c2f2..05efe478 100644
--- a/mhcflurry/flanking_encoding.py
+++ b/mhcflurry/flanking_encoding.py
@@ -109,7 +109,8 @@ class FlankingEncoding(object):
                 "total peptides with this length." % (
                     error_df.iloc[0].peptide,
                     len(error_df.iloc[0].peptide),
-                    len(error_df)))
+                    len(error_df)),
+                supported_peptide_lengths=(1, peptide_max_length + 1))
 
         if n_flank_length > 0:
             n_flanks = df.n_flank.str.pad(
-- 
GitLab