changeset 23:26a2a420f842 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 92e900f2e63812885018aeaede2e67fbb5fcdddc-dirty"
author dfornika
date Fri, 29 Nov 2019 23:02:18 +0000
parents b01c73cb290a
children b45b8ed14a03
files ncbi_acc_download.xml
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ncbi_acc_download.xml	Fri Nov 29 22:58:34 2019 +0000
+++ b/ncbi_acc_download.xml	Fri Nov 29 23:02:18 2019 +0000
@@ -15,6 +15,7 @@
         mkdir outdir &&
         cd outdir &&
         for accession in \$(cat accessions); do
+        sleep 2 &&
         echo "Downloading accession number: " \$accession &&
         ncbi-acc-download
             --molecule '${molecule.select}'
@@ -22,7 +23,7 @@
             #if $molecule.format != 'featuretable' and $molecule.format != 'gff3':
                 --extended-validation all
             #end if
-            \${accession} && sleep 2;
+            \${accession}
         done || exit 1 2> >(tee -a ../error.log >&2)
     ]]></command>
     <inputs>