Hi, I'm adding a new function to the `nf-validatio...
# nextflow-plugins
n
Hi, I'm adding a new function to the
nf-validation
plugin, but Nextflow doesn't seems to find the new function when I try to use it. The steps I followed (all executed in the top folder of the
nf-validation
plugin: 1.
./gradlew compileGroovy
2. Add
include { validateAndConvertSamplesheet } from 'plugin/nf-validation'
at the top of my test pipeline 3.
./launch.sh run -plugins nf-validation ../dummy_pipeline/main.nf
But I'm getting this error after the last command:
Copy code
N E X T F L O W  ~  version 23.01.0-edge
Launching `../dummy_pipeline/main.nf` [astonishing_ekeblad] DSL2 - revision: 986eb9ef02
Extension 'validateAndConvertSamplesheet' it isn't defined by plugin nf-validation

 -- Check script '/home/nvnieuwk/Documents/nextflow/dummy_pipeline/main.nf' at line: 3 or see '.nextflow.log' file for more details
Does someone know what goes wrong here? I made a static class with the
validateAndConvertSamplesheet
function with an
@Function
decorator above it. (see https://github.com/nextflow-io/nf-validation/pull/10)