diff main.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 b3462a72ff76
line wrap: on
line diff
--- a/main.py	Tue Jul 19 10:22:02 2016 -0400
+++ b/main.py	Thu Jul 28 05:55:25 2016 -0400
@@ -7,8 +7,6 @@
 from data import PredictDataset
 from recommend import Predictor
 
-from theano import config
-
 __author__ = "Gianluca Corrado"
 __copyright__ = "Copyright 2016, Gianluca Corrado"
 __license__ = "MIT"
@@ -16,7 +14,6 @@
 __email__ = "gianluca.corrado@unitn.it"
 __status__ = "Production"
 
-config.floatX = 'float32'
 
 if __name__ == '__main__':
     parser = argparse.ArgumentParser(
@@ -46,4 +43,6 @@
                       output="output.txt")
         P.predict()
     else:
-        sys.exit("""The queried protein has no domain similarity with the proteins in the training dataset. It cannot be predicted.""")
+        sys.stdout.write("""
+        The queried protein has no domain similarity with the proteins in the training dataset. It cannot be predicted.
+        """)