Skip to content

Commit

Permalink
Add snakemake report option
Browse files Browse the repository at this point in the history
  • Loading branch information
percyfal committed Jan 10, 2025
1 parent 8a1a41f commit 09dc50a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/nbis/snakemake.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,17 @@ def directory_option():
)


def report_option() -> Callable[[FC], FC]:
"""Add snakemake report option"""
func = click.option(
"--report",
help=("generate snakemake report"),
is_flag=True,
default=False,
)
return func


def format_snakemake_help(smkfile, *, default=None):
"""Return docstring from snakemake file.
Expand Down

0 comments on commit 09dc50a

Please sign in to comment.