discussion and development of Emacs Snakemake mode
 help / color / mirror / code / Atom feed
* Rules not properly indented after copy/pasting (#8)
@ 2016-04-15  5:53 Endre Bakken Stovner
  2016-04-15 18:39 ` Endre Bakken Stovner
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Endre Bakken Stovner @ 2016-04-15  5:53 UTC (permalink / raw)
  To: kyleam/snakemake-mode

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-04-17  0:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-15  5:53 Rules not properly indented after copy/pasting (#8) Endre Bakken Stovner
2016-04-15 18:39 ` 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

Code repositories for project(s) associated with this 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).