snakefmt icon indicating copy to clipboard operation
snakefmt copied to clipboard

Error message raised in snakemake-workflow-catalogue

Open franciscozorrilla opened this issue 4 years ago • 2 comments
trafficstars

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

franciscozorrilla avatar Apr 28 '21 14:04 franciscozorrilla

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

mbhall88 avatar Apr 29 '21 01:04 mbhall88

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

bricoletc avatar Oct 14 '21 18:10 bricoletc

closing in favour of #104

mbhall88 avatar Jan 27 '23 04:01 mbhall88