diff instructor.xml @ 9:eac0d2bd8dd8 draft

planemo upload for repository https://github.com/brsynth/icfree-ml commit 85914678915691d3ec8f0477f8bc7bcfa8518590
author tduigou
date Wed, 15 Mar 2023 10:57:09 +0000
parents c8bd090fa47f
children 6b5c22fc9388
line wrap: on
line diff
--- a/instructor.xml	Wed Mar 15 10:42:44 2023 +0000
+++ b/instructor.xml	Wed Mar 15 10:57:09 2023 +0000
@@ -41,8 +41,11 @@
             --dest_plates '$s_dps'
             --dest_wells '$s_dws'
             --output-folder '.' &&
-            mv volume_warning.tsv '$output_warning' &&
-            mv instructions.csv '$output_instruction'
+        mv instructions.csv '$output_instruction' &&
+        #if os.path.isfile('volume_warning.tsv')
+            touch volume_warning.tsv &&
+        #end if
+        mv volume_warning.tsv '$output_warning'
     ]]></command>
     <inputs>
         <param name="source_plates" type="data_collection" collection_type="list" format="json" label="Source plates information (json)" />