askimed/nf-test

Cannot access params from config at test runtime - params set to null

edupri opened this issue · 3 comments

Environment:
image

I have the following nf-test.config:
image

In the nextflow.config, I define:
image

And then I use it in the process block inside my .nf.test file here:
image

But when I run it, the path is null:
image

Is this a bug or user error on my part?

Thanks,

Eduardo

I also have exactly this issue, the params scope appears to be lost in the process block of the nf-test script. Is this intentional? Or an oversight? It would be very helpful to be able to use the params specified in a nextflow profile or in the params block of nf-test to reduce repetition/redundancy in a code base and ease maintenance.

Thanks, I will look into it in the next days