Skip to content

Commit

Permalink
Inclusion of targetName parameter
Browse files Browse the repository at this point in the history
to overide the default target parameter, which is null and now target
  • Loading branch information
U13bs1125 committed Apr 19, 2024
1 parent 7f7fa15 commit 61804e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ workflow {
channel
.value( params.target )
.map { filename -> file(filename, checkIfExists: true) }
.map { file_obj -> [ [id:'target'], file_obj] }
.map { file_obj -> [ [id:params.targetName], file_obj] }
.set { ch_target }

//
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ params {

// Others added
seed = null
targetName = null
targetName = 'target'

// Schema validation default options
validationFailUnrecognisedParams = false
Expand Down

0 comments on commit 61804e2

Please sign in to comment.