[med-svn] [qcumber] 09/15: Use tabs
Andreas Tille
tille at debian.org
Wed Nov 23 08:21:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository qcumber.
commit 76440517b85237f5640783ffbb66a97d3c7db340
Author: Andreas Tille <tille at debian.org>
Date: Fri Oct 21 18:41:06 2016 +0200
Use tabs
---
debian/patches/set_absolute_path_to_tex_template.patch | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/patches/set_absolute_path_to_tex_template.patch b/debian/patches/set_absolute_path_to_tex_template.patch
index de3ad73..0474bde 100644
--- a/debian/patches/set_absolute_path_to_tex_template.patch
+++ b/debian/patches/set_absolute_path_to_tex_template.patch
@@ -14,10 +14,17 @@ Description: Inside the Debian package we know exactly the location of the
-
- template = env.get_template("report.tex")
+ template_dir = '/usr/share/qcumber'
-+ template_file = 'report.tex'
++ template_file = 'report.tex'
+ loader = FileSystemLoader(template_dir)
+ env = Environment(loader=loader)
+ template = env.get_template(template_file)
pdf_latex = template.render(sample=sample, pipeline=Pipeline(), trim_param = sample.readSets[0].trimRes.print_param(argMap["minlen"], argMap["trimOption"], argMap["palindrome"]))
latex = open(report_name + ".tex", "w")
+@@ -481,4 +482,4 @@ if __name__ == "__main__":
+ parser.add_argument('-tmp',dest="tmp", required = False, help= "Define Temp folder. Default: output folder.")
+
+ arguments = vars(parser.parse_args())
+- main(arguments)
+\ No newline at end of file
++ main(arguments)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/qcumber.git
More information about the debian-med-commit
mailing list