# HG changeset patch
# User bgruening
# Date 1580168197 0
# Node ID 4cebb3439e1a49d06905202df80af118c73b73ea
# Parent  adcc4c457c3ce55b49d828023cfafd176c97d8be
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/graphprot commit afbe0da7a518d6fc60ea066917b1e567c8c42391"
diff -r adcc4c457c3c -r 4cebb3439e1a graphprot_predict_wrapper.py
--- a/graphprot_predict_wrapper.py	Wed Jan 22 15:14:12 2020 +0000
+++ b/graphprot_predict_wrapper.py	Mon Jan 27 23:36:37 2020 +0000
@@ -186,11 +186,11 @@
     # Read in FASTA sequences to check for uppercase sequences.
     seqs_dic = gplib.read_fasta_into_dic(args.in_fa)
     c_uc_nt = gplib.seqs_dic_count_uc_nts(seqs_dic)
-    assert c_uc_nt, "no uppercase nucleotides in input .fa sequences. Please change sequences to uppercase (keep in mind GraphProt only scores uppercase regions (according to its viewpoint concept))"
+    assert c_uc_nt, "no uppercase nucleotides in input .fa sequences. Please change sequences to uppercase (keep in mind GraphProt only scores uppercase regions (according to its viewpoint concept)"
     if not args.ws_pred:
         # Check for lowercase sequences.
         c_lc_nt = gplib.seqs_dic_count_lc_nts(seqs_dic)
-        assert not c_lc_nt, "lowercase nucleotides not allowed in profile predictions, since GraphProt only scores uppercase regions (according to its viewpoint concept))"
+        assert not c_lc_nt, "lowercase nucleotides in input .fa not allowed in profile predictions, since GraphProt only scores uppercase regions (according to its viewpoint concept)"
     # Check .bed.
     if args.genomic_sites_bed:
         # An array of checks, marvelous.
diff -r adcc4c457c3c -r 4cebb3439e1a graphprot_train_predict.xml
--- a/graphprot_train_predict.xml	Wed Jan 22 15:14:12 2020 +0000
+++ b/graphprot_train_predict.xml	Mon Jan 27 23:36:37 2020 +0000
@@ -154,7 +154,7 @@
         
 
         
-            action_type["action_type_selector"] == "train" and not action_type["training_options"]["disable_motifs"]
+            action_type["action_type_selector"] == "train" and not action_type["training_options"]["disable_motifs"] and action_type["train_str_model"]
         
 
         
@@ -193,7 +193,7 @@
 
     
 
-        
+