changeset 20:a3f54efeead6 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 22:32:09 +0000
parents 03cc4022c041
children d78b129b98c7
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:27:33 2019 +0000
+++ b/ncbi_acc_download.xml	Fri Nov 29 22:32:09 2019 +0000
@@ -16,13 +16,14 @@
         cd outdir &&
         while read accession; do
         echo "Downloading accession number: " \$accession &&
+        sleep 2 &&
         ncbi-acc-download
             --molecule '${molecule.select}'
             --format '${molecule.format}'
             #if $molecule.format != 'featuretable' and $molecule.format != 'gff3':
                 --extended-validation all
             #end if
-            \${accession} && sleep 2;
+            \${accession};
         done || exit 1 < ../accessions 2> >(tee -a ../error.log >&2)
     ]]></command>
     <inputs>