From: Endre Bakken Stovner <notifications@github.com>
To: kyleam/snakemake-mode <snakemake-mode@noreply.github.com>
Subject: Rules not properly indented after copy/pasting (#8)
Date: Thu, 14 Apr 2016 22:53:36 -0700 [thread overview]
Message-ID: <kyleam/snakemake-mode/issues/8@github.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 883 bytes --]
When I copy/paste a rule it looks like this afterwards:
```
rule create_design_matrix:
output:
outfile = "tmpdir/run_csaw_{input_use}/design_matrix.csv"
run:
time = pd.Series(list(range(0, 25, 3)) * 2)
values = time * 2 * np.pi / 17
sine = np.sin(values)
cosine = np.cos(values)
design = pd.concat([time, sine, cosine], axis=1)
design.columns = "Time Sine Cosine".split()
design.to_csv(output.outfile, index=False, sep=" ")
```
Normally, I'd just mark the region and press `=` (`evil-indent`) to get the proper indentation, but that isn't working either. I'll prolly look into it myself eventually, but would love input on what you think is happening/best ways to fix.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/8
[-- Attachment #2: Type: text/html, Size: 1535 bytes --]
next reply other threads:[~2016-04-15 5:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 5:53 Endre Bakken Stovner [this message]
2016-04-15 18:39 ` Rules not properly indented after copy/pasting (#8) Endre Bakken Stovner
2016-04-15 18:39 ` Endre Bakken Stovner
2016-04-29 6:58 ` Endre Bakken Stovner
2016-04-29 6:58 ` Endre Bakken Stovner
2020-04-17 0:10 ` Kyle Meyer
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=kyleam/snakemake-mode/issues/8@github.com \
--to=notifications@github.com \
--cc=reply+0013cd7ce52f0855b6b1f6473f8b6502245e75d8f6fe9eea92cf00000001132843e092a169ce08dadd8a@reply.github.com \
--cc=snakemake-mode@noreply.github.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
https://git.kyleam.com/snakemake-mode/
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).