changeset 38:68447763ccc2 draft

Uploaded
author greg
date Mon, 26 Jun 2017 11:22:29 -0400
parents ee4ebdf2935e
children 686ea47c0ce3
files ks_distribution.xml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ks_distribution.xml	Mon Jun 26 11:22:20 2017 -0400
+++ b/ks_distribution.xml	Mon Jun 26 11:22:29 2017 -0400
@@ -5,7 +5,6 @@
     </macros>
     <expand macro="requirements_ks_distribution" />
     <command detect_errors="exit_code"><![CDATA[
-#import json
 Rscript $__tool_directory__/ks_distribution.R
 -k '$input'
 -c '$components'
@@ -16,7 +15,8 @@
     #for $selection in $choose_colors_cond.colors:
         $specified_colors.append(str($selection.color))
     #end for
-    -r '#echo json.dumps(specified_colors)#'
+    #set specified_colors = ",".join($specified_colors)
+    -r '$specified_colors)'
 #end if
     ]]></command>
     <inputs>