Skip to content

Commit

Permalink
val to path
Browse files Browse the repository at this point in the history
  • Loading branch information
DOH-JDJ0303 committed Apr 27, 2024
1 parent 809a7fb commit fa05f11
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion modules/local/assign-remainder.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ process ASSIGN_REMAINDER {
stageInMode 'copy'

input:
tuple val(taxa), val(segment), path(reps), val(mash), val(all)
tuple val(taxa), val(segment), path(reps), path(mash), path(all)

output:
tuple val(taxa), val(segment), path("${prefix}-assigned.csv"), emit: assigned
Expand Down
24 changes: 10 additions & 14 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
"type": "object",
"fa_icon": "fas fa-terminal",
"description": "Define where the pipeline should find input data and save output data.",
"required": [
"input",
"outdir"
],
"required": ["input", "outdir"],
"properties": {
"input": {
"type": "string",
Expand Down Expand Up @@ -201,14 +198,7 @@
"description": "Method used to save pipeline results to output directory.",
"help_text": "The Nextflow `publishDir` option specifies which intermediate files should be saved to the output directory. This option tells the pipeline what method should be used to move these files. See [Nextflow docs](https://www.nextflow.io/docs/latest/process.html#publishdir) for details.",
"fa_icon": "fas fa-copy",
"enum": [
"symlink",
"rellink",
"link",
"copy",
"copyNoFollow",
"move"
],
"enum": ["symlink", "rellink", "link", "copy", "copyNoFollow", "move"],
"hidden": true
},
"email_on_fail": {
Expand Down Expand Up @@ -314,5 +304,11 @@
{
"$ref": "#/definitions/generic_options"
}
]
}
],
"properties": {
"max_cluster": {
"type": "integer",
"default": 10000
}
}
}

0 comments on commit fa05f11

Please sign in to comment.