From 704af8fc59d3b5b66a78054737e2c4c64dcb22db Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Sat, 23 Apr 2022 12:16:37 +0200 Subject: [PATCH] Fix collection_creates_dynamic_list_of_pairs test The upload1 tool would have created a dataset in the history that would have become auto-selected ... which is of course a bug when running tools via the API, xref https://github.com/galaxyproject/galaxy/issues/13799. --- .../tools/collection_creates_dynamic_list_of_pairs.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/tools/collection_creates_dynamic_list_of_pairs.xml b/test/functional/tools/collection_creates_dynamic_list_of_pairs.xml index 5a49984b712..1840c8ca60d 100644 --- a/test/functional/tools/collection_creates_dynamic_list_of_pairs.xml +++ b/test/functional/tools/collection_creates_dynamic_list_of_pairs.xml @@ -9,12 +9,12 @@ ## Galaxy wants forward and reverse in pattern not _1 and _2. ## There is bash magic that would be more concise then this basename ## pattern but I think this is more portable. - for f in *_1.fq; do mv "\$f" "`basename \$f _1.fq`_forward.fq"; done && + for f in *_1.fq; do mv "\$f" "`basename \$f _1.fq`_forward.fq"; done && for f in *_2.fq; do mv "\$f" "`basename \$f _2.fq`_reverse.fq"; done ]]> - +