discussion and development of Emacs Snakemake mode
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: snakemake-mode@inbox.kyleam.com
Subject: [PATCH 3/3] transient: Use --cores=all by default
Date: Mon, 21 Feb 2022 22:02:07 -0500	[thread overview]
Message-ID: <20220222030207.204401-4-kyle@kyleam.com> (raw)
In-Reply-To: <20220222030207.204401-1-kyle@kyleam.com>

--cores has been a mandatory argument since v5.11.  Set the default to
something that can actually build targets.
 snakemake.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/snakemake.el b/snakemake.el
index 91fef4f..98467ce 100644
--- a/snakemake.el
+++ b/snakemake.el
@@ -742,6 +742,7 @@ (transient-define-argument snakemake:--cores ()
 ;;;###autoload (autoload 'snakemake "snakemake" nil t)
 (transient-define-prefix snakemake
   "Transient for running Snakemake."
+  :value '("--cores=all")
    ("-C" "Use conda" "--use-conda")
    ("-f" "Force" "--force")

      parent reply	other threads:[~2022-02-22  3:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22  3:02 [PATCH 0/3] Switch to Transient Kyle Meyer
2022-02-22  3:02 ` [PATCH 1/3] Rewrite snakemake-popup as a transient Kyle Meyer
2022-02-22  3:02 ` [PATCH 2/3] transient: Replace --jobs with --cores Kyle Meyer
2022-02-22  3:02 ` Kyle Meyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://git.kyleam.com/snakemake-mode

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220222030207.204401-4-kyle@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=snakemake-mode@inbox.kyleam.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).