diff --git a/Snakefile b/Snakefile index 14e28f0ef1c47db7f9709197937a1e2d2f674150..16e1d766a5ed1218732f64159d6f54c3be527214 100644 --- a/Snakefile +++ b/Snakefile @@ -101,11 +101,14 @@ exec ddsim \ rule matplotlibrc: output: ".matplotlibrc", - run: - with open(output[0], "wt") as fp: - fp.write("backend: Agg\n") - # interactive mode prevents plt.show() from blocking - fp.write("interactive : True\n") + shell: + """ +cat > {output} <<EOF +backend: Agg +# interactive mode prevents plt.show() from blocking +interactive: True +EOF +""" rule org2py: