Closed timyaro closed 2 years ago
Hello,
When I run the test script:
nextflow run main.nf -profile test,docker
I get the following error message:
Missing workflow definition - DSL2 requires at least a workflow block in the main script.
How do I go about fixing this?
Also, just a heads up, I am very new with bioinformatics!
Hey @timyaro ,
It is because you use a new version of Nextflow. When starting the shell use: export NXF_DEFAULT_DSL=1
Then it should work
@niederro It worked! I greatly appreciate your help!
Hello,
When I run the test script:
nextflow run main.nf -profile test,docker
I get the following error message:
Missing workflow definition - DSL2 requires at least a workflow block in the main script.
How do I go about fixing this?
Also, just a heads up, I am very new with bioinformatics!