changeset 5:020b3087d0b7 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 664ef05c64e91acc8355256d59e5c8e4f779ece9
author iuc
date Fri, 05 May 2017 11:15:46 -0400
parents 8e2be617b437
children d41b98e72c4c
files taxonomy_krona_chart.xml
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/taxonomy_krona_chart.xml	Thu May 04 06:04:23 2017 -0400
+++ b/taxonomy_krona_chart.xml	Fri May 05 11:15:46 2017 -0400
@@ -4,7 +4,7 @@
     <requirement type="package" version="2.6.1">krona</requirement>
   </requirements>
   <version_command>ktImportText | sed -n 's/.*\(KronaTools [[:digit:].]\{1,\}\).*/\1/p'</version_command>
-  <command><![CDATA[
+  <command detect_errors="exit_code"><![CDATA[
     #if $type_of_data.input[0].is_of_type('taxonomy'):
         ktImportGalaxy
         -d '${type_of_data.max_rank}'
@@ -23,7 +23,8 @@
             '${input_dataset},${input_count}'
         #end for
     #end if
-    && [ -d '${output}.files' ] && ( mkdir '${output.extra_files_path}' && mv '${output}.files' '${output.extra_files_path}/' )
+    &&
+    if [ -d '${output}.files' ] ; then mkdir '${output.extra_files_path}' && mv '${output}.files' '${output.extra_files_path}' ; fi
   ]]></command>
   <inputs>
     <conditional name="type_of_data">