I want the user to provide a file via command line...
# tools
f
I want the user to provide a file via command line argument but also have a reasonable default file that I want to be used when the user does not provide a file. I added the file to the assets folder. In oder to work I need to add ${projectDir}/assets/file to the nextflow.config. Howver when I add that to the schema it always resolves to my local path. If I remove the projectDir I get a linting failure because the schema does not reflect the nextflow.config. If I keep it I also get a linting failure:
Copy code
nextflow_config: Config default value incorrect: params.varlociraptor_scenario_file is set as ${projectDir}/assets/varlociraptor_somatic_with_priors.yte.yaml in nextflow_schema.json but is                                                             
/Users/famke/02-nf-core/sarek/assets/varlociraptor_somatic_with_priors.yte.yaml in nextflow.config.
related PR: https://github.com/nf-core/sarek/pull/1940 Maybe there is a better way to supply a file than via projectDir and assets.