From 18c515e00e4ffb646daf472ce77ac25d5b2a74b4 Mon Sep 17 00:00:00 2001
From: Isabelle Guigon <isabelle.guigon@univ-lille.fr>
Date: Tue, 14 Sep 2021 14:35:09 +0200
Subject: [PATCH] Crosspred: predict_PTM.py: initialise the ptm predictor with
 arg --nbPTMmax

---
 predict_PTM.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/predict_PTM.py b/predict_PTM.py
index 66e1335..fa42955 100755
--- a/predict_PTM.py
+++ b/predict_PTM.py
@@ -58,7 +58,7 @@ else:
     else:
         raise Exception(str(args.fasta) + " is not found")
 
-ptm_predictor = PTM(args.ptm)
+ptm_predictor = PTM(args.ptm, args.nbPTMmax)
 
 for sequence in sequences:
     peptide = Peptide(sequence)
-- 
GitLab