Skip to content

Commit 9e2a589

Browse files
committed
attempting to implement the nf-schema plugins, still need to do help text etc.
1 parent ed1df3c commit 9e2a589

File tree

3 files changed

+29
-16
lines changed

3 files changed

+29
-16
lines changed

nextflow.config

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,12 @@ process.shell = ['/bin/bash', '-euo', 'pipefail']
312312
nextflow.enable.configProcessNamesValidation = false
313313

314314
// Help validation
315-
validation.help.enabled = true
315+
validation {
316+
help {
317+
enabled = true
318+
}
319+
}
320+
//validation.help.enabled = true
316321

317322
def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
318323
timeline {

subworkflows/nf-core/utils_nfvalidation_plugin/main.nf

Lines changed: 16 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workflows/directrna.nf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
// once a stable release it pushed/ Validate input parameters()
1414
// https://nextflow-io.github.io/nf-schema/latest/parameters/help_text/
1515
//validateParameters()
16+
*/
17+
18+
// NF_VALIDATION_SCHEMA(
19+
1620

1721
// Print summary to stdout of supplied parameters that differ from defaults
1822

@@ -160,6 +164,9 @@ include { GFFCOMPARE as GFFCOMPARE_STRINGTIE } from '../modules/local/gffco
160164
//include { validateParameters } from 'plugin/nf-schema'
161165
//include { paramsSummaryMap } from 'plugin/nf-schema'
162166
//include { paramsSummaryMultiqc } from '../subworkflows/nf-core/utils_nfcore_pipeline'
167+
// include { NF_VALIDATION_SCHEMA } from
168+
// '../subworkflows/nf-core/utils_nfvalidation_plugin'
169+
163170
include { softwareVersionsToYAML } from '../subworkflows/nf-core/utils_nfcore_pipeline'
164171
//include { methodsDescriptionText } from '../subworkflows/local/utils_nfcore_directrna_pipeline'
165172

0 commit comments

Comments
 (0)