diff macros.xml @ 2:0095a278a085 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/fastq_dl commit 3253434cee1e88dcab77c1cc99264900c78eadb9
author iuc
date Thu, 13 Nov 2025 13:33:35 +0000
parents f1a958f3e3f6
children
line wrap: on
line diff
--- a/macros.xml	Tue Apr 29 06:04:25 2025 +0000
+++ b/macros.xml	Thu Nov 13 13:33:35 2025 +0000
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">3.0.1</token>
-    <token name="@VERSION_SUFFIX@">0</token>
+    <token name="@VERSION_SUFFIX@">1</token>
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="@TOOL_VERSION@">fastq-dl</requirement>
@@ -13,9 +13,15 @@
             --only-provider
             $only_download_metadata
             $group_by_experiment
-            $group_by_sample
-            &&
+            $group_by_sample;
+            exit_code=\$? ;
+            if [ \$exit_code -ne 0 ]; then
+                echo "fastq-dl failed for accession: \${accessionid}" >&2 ;
+                exit \$exit_code ;
+                break ;
+            else
             mv fastq-run-info.tsv logs/"\$accessionid"-fastq-run-info.tsv > /dev/null 2>&1 || true;
+            fi ;
         done
     ]]></token>
     <xml name="citations">