snakefmt
snakefmt copied to clipboard
Error message raised in snakemake-workflow-catalogue
Hi, I searched for the metaGEM workflow in the snakemake catalogue and I see that the QC tab shows that my formatting is failing. Clicking on the failed formatting badge shows the following error message:
[ERROR] In file "/tmp/tmpaisj4fsi/franciscozorrilla-metaGEM-cc3d75a/Snakefile": 'NoParametersError: L519: In output definition.'
[INFO] In file "/tmp/tmpaisj4fsi/franciscozorrilla-metaGEM-cc3d75a/Snakefile": 1 file(s) raised parsing errors 🤕
Any idea what is going wrong?
Thanks, Francisco
Hi Francisco, it's a little hard without seeing the exact file you ran this on, but looking at the Snakefile in the repo you linked, it looks like https://github.com/franciscozorrilla/metaGEM/blob/b3f524dc79e5118c1796621d0be6771d0ce655f0/Snakefile#L577-L578 could be the cause. This is related to #104
Can confirm this, if you add a "" after you empty output statements, it will work. We're still not sure whether we should support empty statements. We would need @johanneskoester's input on #104
closing in favour of #104