Skip to content

Commit

Permalink
fix for theano
Browse files Browse the repository at this point in the history
  • Loading branch information
timodonnell committed Feb 19, 2018
1 parent 823f8c7 commit 885a97c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_class1_affinity_predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def test_predict_implementations_equivalent():
peptides=peptides + ["SSSN"],
throw=False,
centrality_measure=centrality_measure).prediction.values
testing.assert_equal(pred1, pred2)
testing.assert_almost_equal(pred1, pred2, decimal=2)

pred1 = DOWNLOADED_PREDICTOR.predict(
allele=allele,
Expand All @@ -243,4 +243,4 @@ def test_predict_implementations_equivalent():
allele=allele,
peptides=peptides,
centrality_measure=centrality_measure).prediction.values
testing.assert_equal(pred1, pred2)
testing.assert_almost_equal(pred1, pred2, decimal=2)

0 comments on commit 885a97c

Please sign in to comment.