Closed evanroyrees closed 2 years ago
Turns out, this behavior already exists:
(autometa) evan@Kwan-Bioinformatics:~/Autometa$ nextflow run /home/evan/Autometa -profile "slurm" -params-file "nf-params.json" -resume --mock_test --resume
N E X T F L O W ~ version 21.10.6
Launching `/home/evan/Autometa/main.nf` [nauseous_poisson] - revision: e2af028fef
ERROR: You used a core Nextflow option with two hyphens: '--resume'. Please resubmit with '-resume'
WARN: Found unexpected parameters:
* --resume: true
- Ignore this warning: params.schema_ignore_params = "resume"
Quickly fail the nextflow workflow if the user has provided
--resume
instead of-resume