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
Option --summary gives a cryptic error if you combine it with -j option. Conversely, --detailed-summary gives an error if -j option is missing. I think the expected behavior should be that both --summary and --detailed-summary work with or without -j or at least have the same requirement.
Minimal example
Cryptic error from --summarywith-j:
snakemake -j 1 --summary
Building DAG of jobs...
WorkflowErrorin line 1 of /home/dario/Downloads/Snakefile:
Resource _nodes is of type int but global resource constraint defines <class 'str'> with value 1. Resources with the same name need to have the same types (int, float, or str are allowed).
Error from --detailed-summarywithout-j:
snakemake --detailed-summary
Error: you need to specify the maximum number of CPU cores to be used at the same time. If you want to use N cores, say --cores N or -cN. For all cores on your system (be sure that this is appropriate) use --cores all. For no parallelization use --cores 1 or -c1.
…2218)
### Description
This fixes#1917.
### QC
* [x] The PR contains a test case for the changes or the changes are
already covered by an existing test case.
* [x] 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).
Co-authored-by: Johannes Köster <johannes.koester@tu-dortmund.de>
Snakemake version
7.16.0
Describe the bug
Option
--summary
gives a cryptic error if you combine it with-j
option. Conversely,--detailed-summary
gives an error if-j
option is missing. I think the expected behavior should be that both--summary
and--detailed-summary
work with or without-j
or at least have the same requirement.Minimal example
Cryptic error from
--summary
with-j
:Error from
--detailed-summary
without-j
:Minimal snakefile:
The text was updated successfully, but these errors were encountered: