You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If --quiet is used without an argument along with --profile, it is ignored. This occurs because the code setting quiet to ["progress", "rules"] when len(args.quiet) == 0 is placed before profile parsing.
ifargs.quietisnotNoneandlen(args.quiet) ==0:
# default case, set quiet to progress and ruleargs.quiet= ["progress", "rules"]
ifargs.profile:
...
It is fixed by moving it after the if args.profile: block.
Minimal example
Any snakemake workflow (e.g. the example on the docs site) with any profile should trigger the bug.
The text was updated successfully, but these errors were encountered:
Just realized this bug was also noticed in #1660, apologies for the duplicate report. If my understanding of the problem is correct, I'm happy to make a patch PR.
Snakemake version
Any snakemake after #1649
Describe the bug
If
--quiet
is used without an argument along with--profile
, it is ignored. This occurs because the code setting quiet to["progress", "rules"]
whenlen(args.quiet) == 0
is placed before profile parsing.It is fixed by moving it after the
if args.profile:
block.Minimal example
Any snakemake workflow (e.g. the example on the docs site) with any profile should trigger the bug.
The text was updated successfully, but these errors were encountered: