diff bcftools_plugin_counts.xml @ 3:136dc00f36c9 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
author iuc
date Tue, 31 Jan 2017 12:43:46 -0500
parents 06cd2a0252dc
children 902fd5bfb7f6
line wrap: on
line diff
--- a/bcftools_plugin_counts.xml	Mon Oct 03 12:16:59 2016 -0400
+++ b/bcftools_plugin_counts.xml	Tue Jan 31 12:43:46 2017 -0500
@@ -28,7 +28,8 @@
 ]]>
     </command>
     <configfiles>
-        <configfile name="transform">
+        <configfile name="transform"><![CDATA[
+from __future__ import print_function
 import sys
 header = []
 value = []
@@ -36,8 +37,9 @@
   h,v = line.strip().split()
   header.append(h)
   value.append(v)
-print >> sys.stdout, '#%s\n' % '\t'.join(header)
-print >> sys.stdout, '%s\n' % '\t'.join(value)
+print( '#%s' % '\t'.join(header) )
+print( '%s' % '\t'.join(value) )
+]]>
         </configfile>
     </configfiles>
     <inputs>