diff recommend.py @ 4:a609d6dc8047 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/rna_commander/tools/rna_tools/rna_commender commit 7ad344d108076116e702e1c1e91cea73d8fcadc4
author rnateam
date Thu, 28 Jul 2016 05:55:25 -0400
parents 8918de535391
children
line wrap: on
line diff
--- a/recommend.py	Tue Jul 19 10:22:02 2016 -0400
+++ b/recommend.py	Thu Jul 28 05:55:25 2016 -0400
@@ -53,6 +53,8 @@
         """Predict interaction values."""
         # predict the y_hat
         (p, p_names, r, r_names) = self.predict_dataset
+        assert p.dtype == 'float32'
+        assert r.dtype == 'float32'
         y_hat = self.model.predict(p, r)
         # sort the interactions according to y_hat
         ordering = sorted(range(len(y_hat)),