diff cfsan_lexmapr2.xml @ 17:b4ef74a844e6

"planemo upload"
author kkonganti
date Thu, 15 Sep 2022 14:41:43 -0400
parents 64fe14d9e2c8
children 62b848017a6a
line wrap: on
line diff
--- a/cfsan_lexmapr2.xml	Thu Sep 15 14:30:30 2022 -0400
+++ b/cfsan_lexmapr2.xml	Thu Sep 15 14:41:43 2022 -0400
@@ -36,7 +36,8 @@
         -u "$input_json.upload"
     #end if
     -o lexmapr2_output.tsv
-    ./lexmapr2-input/$input.name
+    ./lexmapr2-input/$input.name;
+    mv 'lexmapr_run.log' 'lexmapr2_run_log.txt' || exit 1;
     ]]></command>
     <environment_variables>
         <environment_variable name="NLTK_DATA">/tool/tool-data/cfsan_lexmapr2/0/nltk_data</environment_variable>
@@ -67,9 +68,9 @@
     <outputs>
         <data name="lexmapr2_output" format="tsv" label="Lexmapr2: Results On ${on_string}" from_work_dir="lexmapr2_output.tsv"/>
         <collection name="plots" type="list" label="Lexmapr2: Plots on ${on_string}">
-            <discover_datasets ext="png" directory="lexmapr_figures"/>
+            <discover_datasets pattern="(?P&lt;designation&gt;.+)" ext="png" directory="lexmapr_figures"/>
         </collection>
-        <data name="lexmapr2_log" format="txt" label="Lexmapr2: Log On ${on_string}" from_work_dir="lexmapr_run.log"/>
+        <data name="lexmapr2_log" format="txt" label="Lexmapr2: Log On ${on_string}" from_work_dir="lexmapr2_run_log.txt"/>
     </outputs>
     <tests>
         <test expect_num_outputs="2">