diff ks_distribution.xml @ 22:f3b7455d6c04 draft

Uploaded
author greg
date Mon, 26 Jun 2017 07:51:21 -0400
parents 14f771140d45
children 4cbeb43dc936
line wrap: on
line diff
--- a/ks_distribution.xml	Mon Jun 26 07:51:11 2017 -0400
+++ b/ks_distribution.xml	Mon Jun 26 07:51:21 2017 -0400
@@ -5,6 +5,7 @@
     </macros>
     <expand macro="requirements_ks_distribution" />
     <command detect_errors="exit_code"><![CDATA[
+#import json
 Rscript $__tool_directory__/ks_distribution.R
 -k '$input'
 -c '$components'
@@ -15,7 +16,7 @@
     #for $i in $choose_colors_cond.colors:
         $ccs.append(str($i.color))
     #end for
-    -r str($ccs)
+    -r '#echo json.dumps(ccs)#'
 #end if
     ]]></command>
     <inputs>