Closed endrebak closed 8 years ago
I messed up my git repo, so here I try again.
OK, thanks. You can also force push the topic branch rather than opening up a new PR.
Since emacs and snakemake is all I use, you will probably have to brace yourself for more PRs.
Great, thanks for the PRs and suggestions so far. And it's nice to
know someone else is using snakemake{,-mode}.el
.
Hmm, but this is limited to creating the graph for the first rule ofthe Snakefile, right?
Yes, I do not think it is possible to create a graph for anything but the all rule. But if it is, I have never done it and do not know how to do it.
It's specified by the targets passed to Snakemake, in the same way that you build targets other than the top-most rule.
I'd prefer to have this as a customizable variable, as is done with snakemake-program.
I have made snakemake-graph-program a defcustom. But I do not know of other pieces of software that can do the same thing though.
Graphviz contains a few other options (see "man dot"). I suppose any
program that understands the dot format as input would work. But a
defcustom also allows the user to specify a program that isn't in their
PATH
.
I've tried a slightly different approach in the km/graph
branch
(aa756b6). Thoughts?
Looks good, reading all your snakemake-mode code now to get better aquainted with it.
Going to start writing yasnippets for snakemake, do you have any you'd like to share?
I messed up my git repo, so here I try again. Thanks for the patience. Since emacs and snakemake is all I use, you will probably have to brace yourself for more PRs.
Yes, I do not think it is possible to create a graph for anything but the all rule. But if it is, I have never done it and do not know how to do it. I do not yet understand the compile-code either.
I have made
snakemake-graph-program
a defcustom. But I do not know of other pieces of software that can do the same thing though.