From ff1bbf1b301fdc36cb8d6458b99238a8faa2eb66 Mon Sep 17 00:00:00 2001
From: Tim O'Donnell <timodonnell@gmail.com>
Date: Wed, 22 Mar 2017 10:22:32 -0400
Subject: [PATCH] fix linter error

---
 test/test_class1_binding_predictor_with_dummy_models.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test_class1_binding_predictor_with_dummy_models.py b/test/test_class1_binding_predictor_with_dummy_models.py
index 1bf77ca7..c5583572 100644
--- a/test/test_class1_binding_predictor_with_dummy_models.py
+++ b/test/test_class1_binding_predictor_with_dummy_models.py
@@ -71,8 +71,8 @@ def test_encode_peptides_9mer():
     encoded = always_zero_predictor_with_unknown_AAs.encode_peptides(["AAASSSYYY"])
     assert len(encoded.indices) == 1
     assert encoded.indices[0] == 0
-    assert encoded.encoded_matrix.shape[0] == 1, X.shape
-    assert encoded.encoded_matrix.shape[1] == 9, X.shape
+    assert encoded.encoded_matrix.shape[0] == 1, encoded.encoded_matrix.shape
+    assert encoded.encoded_matrix.shape[1] == 9, encoded.encoded_matrix.shape
 
 
 def test_encode_peptides_8mer():
-- 
GitLab