changeset 4:56cb2b0269d1 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann2 commit 55eb503f50c54695ec36c3d4671c2b3e64d05f40"
author iuc
date Fri, 05 Feb 2021 18:22:45 +0000 (2021-02-05)
parents 3b3575edab80
children 09c1bbec1032
files humann2_barplot.xml humann2_macros.xml
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/humann2_barplot.xml	Mon Feb 01 18:23:46 2021 +0000
+++ b/humann2_barplot.xml	Fri Feb 05 18:22:45 2021 +0000
@@ -1,8 +1,9 @@
-<tool id="humann2_barplot" name="Barplot" version="@WRAPPER_VERSION@.0">
+<tool id="humann2_barplot" name="Barplot" version="@WRAPPER_VERSION@.1">
     <description>stratified HUMAnN2 features</description>
     <macros>
         <import>humann2_macros.xml</import>
     </macros>
+    <expand macro="stdio"/>
     <expand macro="requirements">
         <requirement type="package" version="2.0.2">matplotlib</requirement>
         <requirement type="package" version="1.13.1">numpy</requirement>
--- a/humann2_macros.xml	Mon Feb 01 18:23:46 2021 +0000
+++ b/humann2_macros.xml	Fri Feb 05 18:22:45 2021 +0000
@@ -7,6 +7,13 @@
             <yield/>
         </requirements>
     </xml>
+    
+    <xml name="stdio">
+        <stdio>
+            <regex match="Failed to allocate sufficient memory." source="stderr" level="fatal_oom" description="Out of memory error occurred" />
+            <regex match="MemoryError" source="stderr" level="fatal_oom" description="Out of memory error occurred" />
+        </stdio>
+    </xml>
     <xml name="version">
         <version_command>humann2 --version</version_command>
     </xml>