From 6626f20fdfce4ce0992e36be10c67b3189d938c6 Mon Sep 17 00:00:00 2001 From: Daniel McDonald Date: Sat, 24 Oct 2015 18:21:15 -0600 Subject: [PATCH] travis kicking and not staging the template right --- americangut/results_utils.py | 12 ++++++------ conda_requirements.txt | 1 - pip_requirements.txt | 1 + 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/americangut/results_utils.py b/americangut/results_utils.py index 151f9b5..86ed7d1 100644 --- a/americangut/results_utils.py +++ b/americangut/results_utils.py @@ -28,9 +28,9 @@ # These are the Latex templates for the different results types _templates = { - 'fecal': ('template_gut.tex', 'macros_gut.tex'), - 'oral': ('template_oralskin.tex', 'macros_oralskin.tex'), - 'skin': ('template_oralskin.tex', 'macros_oralskin.tex') + 'fecal': 'template_gut.tex', + 'oral': 'template_oralskin.tex', + 'skin': 'template_oralskin.tex' } @@ -94,9 +94,9 @@ def get_repository_latex_pdfs(sample_type): def stage_static_latex(sample_type, working_dir): latex_dir = get_repository_latex() - for item in _templates[sample_type.lower()]: - src = get_path(latex_dir, item) - shutil.copy(src, working_dir) + item = _templates[sample_type.lower()] + src = get_path(latex_dir, item) + shutil.copy(src, working_dir) def stage_static_pdfs(sample_type, working_dir): diff --git a/conda_requirements.txt b/conda_requirements.txt index 7dcdc87..c389bd8 100644 --- a/conda_requirements.txt +++ b/conda_requirements.txt @@ -14,4 +14,3 @@ notebook scikit-bio==0.2.3 cython natsort<4.0.0 -future >= 0.14.3 diff --git a/pip_requirements.txt b/pip_requirements.txt index bd5f47d..53f1c4b 100644 --- a/pip_requirements.txt +++ b/pip_requirements.txt @@ -5,3 +5,4 @@ seaborn qiime runipy ipymd +future==0.15.2