disallow duplicated threads assignment etc

Create issue
Issue #326 new
Andreas Wilm created an issue

Hi all,

I wrote a rule which accidentally set 'threads' twice. Snakemake happily used the first definition (of whose presence I was unaware). I think it would make sense to simply disallow listing a non-terminal more than once.

Andreas

Comments (2)

  1. Christian Arnold

    Is this already handled by the newer versions? I think generally, if keywords (not only threads, any of them) are specified multiple times, an error should be thrown, with the specific rule name for which this occurred.

  2. Log in to comment