snakemake icon indicating copy to clipboard operation
snakemake copied to clipboard

feat: Initial attempt at adding a --any-of feature

Open WeatherGod opened this issue 1 year ago • 7 comments

Make it possible to perform a subset of the requested jobs

QC

  • [x] The PR contains a test case for the changes or the changes are already covered by an existing test case.
  • [ ] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Summary by CodeRabbit

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced --any-of command-line argument for flexible rule or file execution.
    • Enhanced DAG class to manage additional command-line options for job execution.
    • Updated Workflow class to incorporate any_of settings for improved DAG processing.
    • Added new rules in the Snakemake workflow for better file processing.
    • Improved validation in DAGSettings to prevent conflicting options.
  • Tests

    • Added test_anyof() to validate the new any_of functionality in workflows.

WeatherGod avatar Oct 04 '24 19:10 WeatherGod