Skip to content

Commit

Permalink
Remove not needed dsl=2 + error in example
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
  • Loading branch information
mribeirodantas committed Mar 12, 2024
1 parent 1b72d99 commit 8453a4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions docs/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ Any process can define one or more channels as *input* and *output*. The interac
A Nextflow script looks like this:

```groovy
// Declare syntax version
nextflow.enable.dsl=2
// Script parameters
params.query = "/some/data/sample.fa"
params.db = "/some/path/pdb"
Expand All @@ -45,7 +42,7 @@ process extractTopHits {
path "sequences.txt"
"""
blastdbcmd -db $db -entry_batch $top_hits > sequences.txt
blastdbcmd -db $params.db -entry_batch $top_hits > sequences.txt
"""
}
Expand Down
2 changes: 0 additions & 2 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,6 @@ $ nextflow view nextflow-io/hello

== content of file: .nextflow/assets/nextflow-io/hello/main.nf
#!/usr/bin/env nextflow
nextflow.enable.dsl=2

process sayHello {
input:
Expand Down Expand Up @@ -1471,7 +1470,6 @@ View the contents of a downloaded pipeline without omitting the header:
$ nextflow view -q nextflow-io/hello

#!/usr/bin/env nextflow
nextflow.enable.dsl=2

process sayHello {
input:
Expand Down

0 comments on commit 8453a4e

Please sign in to comment.