Skip to content

Commit efaa233

Browse files
Copilotadamjtaylor
andcommitted
Move publishDir after output block and fix schema typo
Co-authored-by: adamjtaylor <14945787+adamjtaylor@users.noreply.github.com>
1 parent 666b8a7 commit efaa233

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

modules/bioformats2ometiff.nf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
process bioformats2ometiff {
22
tag {"$meta.id"}
33
label "process_medium"
4-
publishDir "$params.outdir",
5-
enabled: params.save_ometiff,
6-
pattern: "*.ome.tiff",
7-
saveAs: {filename -> "${meta.id}/ometiff/${filename}"}
84
input:
95
tuple val(meta), file(image)
106
output:
117
tuple val(meta), file("${image.simpleName}.ome.tiff")
8+
publishDir "$params.outdir",
9+
enabled: params.save_ometiff,
10+
pattern: "*.ome.tiff",
11+
saveAs: {filename -> "${meta.id}/ometiff/${filename}"}
1212
stub:
1313
"""
1414
touch raw_dir

nextflow_schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131
}
3232
},
33-
"miniatue_options": {
33+
"miniature_options": {
3434
"title": "Miniature options",
3535
"type": "object",
3636
"fa_icon": "fas fa-palette",
@@ -72,7 +72,7 @@
7272
"$ref": "#/definitions/input_output_options"
7373
},
7474
{
75-
"$ref": "#/definitions/miniatue_options"
75+
"$ref": "#/definitions/miniature_options"
7676
}
7777
]
7878
}

0 commit comments

Comments
 (0)