yanlinlin82 / seqpipe

A framework for SEQuencing data analysis PIPElines.
http://yanlinlin82.github.io/seqpipe/
MIT License
7 stars 4 forks source link

No effect of requires/inputs/outputs in SP_if block #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When set requires/inputs/outputs for statements in a SP_if block, the file 
dependencies are ignored since they may be unpredictable unless in run-time.

For example:

$ cat foo.pipe 
function foo
{
    SP_if (test)
    {
        #[input="A" output="C"]
        echo something
    }
    else
    {
        #[input="B" output="C"]
        echo something
    }

    #[input="C" output="D"]
    echo something
}

$ seqpipe -m foo.pipe foo -h

Input file(s):
   B                               Definition: B

Output file(s):
   D                               Definition: D

Currently I do not have any idea to provide a better solution for this case.

Original issue reported on code.google.com by pku.ya...@gmail.com on 8 Jan 2013 at 12:42

GoogleCodeExporter commented 9 years ago
Owner changes.

Original comment by yanlinlin82 on 19 Sep 2013 at 12:21

GoogleCodeExporter commented 9 years ago
FIxed in r342.

However, this may not be the final solution, since file dependencies may change 
in different run-time conditions.

Original comment by yanlinlin82 on 28 Sep 2013 at 3:16