Repository 'datamash_transpose'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/datamash_transpose

Changeset 6:a513e3fbb4c5 (2023-11-09)
Previous changeset 5:374cb875d38a (2023-03-23)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 2214890e6a31af0d1157373e81fc93c4626cb415
modified:
datamash-transpose.xml
b
diff -r 374cb875d38a -r a513e3fbb4c5 datamash-transpose.xml
--- a/datamash-transpose.xml Thu Mar 23 20:47:02 2023 +0000
+++ b/datamash-transpose.xml Thu Nov 09 12:01:09 2023 +0000
[
@@ -2,6 +2,7 @@
     <description>rows/columns in a tabular file</description>
     <macros>
         <import>macros.xml</import>
+        <token name="@VERSION_SUFFIX@">1</token>
     </macros>
     <edam_topics>
         <edam_topic>topic_3570</edam_topic> <!-- Pure math / linear algebra -->
@@ -13,7 +14,7 @@
     <expand macro="stdio"/>
     <command><![CDATA[
         #import os
-        #set file_size_MB = os.path.getsize(str($in_file)) / (1024 * 1024)
+        #set file_size_MB = $in_file.get_size() / (1024 * 1024)
         #set size_threshold_MB = 1024
         #if $file_size_MB <= $size_threshold_MB:
             datamash transpose @FIELD_SEPARATOR@ < $in_file > $out_file