Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: snakemake API using only 1 job as default (#1283)
* fix: snakemake API using only 1 job as default

* fix issue in tests with cores
  • Loading branch information
Maarten-vd-Sande committed Nov 29, 2021
1 parent d279322 commit e92ad48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snakemake/__init__.py
Expand Up @@ -50,7 +50,7 @@ def snakemake(
listrules=False,
list_target_rules=False,
cores=1,
nodes=1,
nodes=None,
local_cores=1,
max_threads=None,
resources=dict(),
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.py
Expand Up @@ -860,7 +860,7 @@ def test_pipes():
@skip_on_windows
def test_pipes_multiple():
# see github issue #975
run(dpath("test_pipes_multiple"))
run(dpath("test_pipes_multiple"), cores=5)


def test_pipes_fail():
Expand Down

0 comments on commit e92ad48

Please sign in to comment.