Skip to content

Commit

Permalink
fix test to conform to new transform behavior
Browse files Browse the repository at this point in the history
new behavior requires transform('*.ext') to match multiple files
ending with '.ext'. Prior behavior would match multiple files
if only '.ext' was specified, however this leads to pipelines
whose behavior is difficult to predict because if the number
of files coming in changes then the number of expected output
files changes and the pipeline fails unless those files are
produced. Therefore the '*.ext' behavior must be explicitly
invoked now by using the glob-like syntax
  • Loading branch information
ssadedin committed May 29, 2016
1 parent 14b1af6 commit 64354b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/transform_to/test.groovy
Expand Up @@ -5,7 +5,7 @@ hello = {
}

world = {
transform('.fastq.gz','.xml') to('_fastqc.zip','.tsv') {
transform('*.fastq.gz','.xml') to('_fastqc.zip','.tsv') {
exec """
cat $input1.gz > $output1.zip
Expand Down

0 comments on commit 64354b3

Please sign in to comment.