From 304f6f1e92c21e40b010c1402769c69de0787792 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 21 Mar 2024 09:30:16 -0600 Subject: [PATCH] Fix pooled and WGS (WGS uses multiReport.html) --- CRISPResso2/CRISPRessoReports/CRISPRessoReport.py | 2 +- CRISPResso2/CRISPRessoReports/templates/multiReport.html | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CRISPResso2/CRISPRessoReports/CRISPRessoReport.py b/CRISPResso2/CRISPRessoReports/CRISPRessoReport.py index d82516be..97a405bc 100644 --- a/CRISPResso2/CRISPRessoReports/CRISPRessoReport.py +++ b/CRISPResso2/CRISPRessoReports/CRISPRessoReport.py @@ -566,7 +566,7 @@ def fill_default(dictionary, key, default_type=list): 'titles': summary_plots['titles'], 'labels': summary_plots['labels'], 'datas': summary_plots['datas'], - 'htmls': summary_plots['htmls'], + 'htmls': summary_plots['htmls'] if 'htmls' in summary_plots else [], 'crispresso_data_path': crispresso_data_path, }, run_names=run_names, diff --git a/CRISPResso2/CRISPRessoReports/templates/multiReport.html b/CRISPResso2/CRISPRessoReports/templates/multiReport.html index 7f69bdbb..10d30063 100644 --- a/CRISPResso2/CRISPRessoReports/templates/multiReport.html +++ b/CRISPResso2/CRISPRessoReports/templates/multiReport.html @@ -165,6 +165,4 @@
Summary Plots
{% endblock %} {% block foot %} - -{{ render_partial('shared/partials/batch_d3.html', nucleotide_quilt_slugs=(window_nuc_pct_quilts + nuc_pct_quilts))}} {% endblock %}