From 2c1be5aeced9eac8c4d64f8d7c0ce1e8cc5b04d1 Mon Sep 17 00:00:00 2001 From: Cole Lyman Date: Tue, 29 Oct 2024 16:52:36 -0600 Subject: [PATCH] Fix missing substitution in name of WGS, Compare and Meta reports (#110) (#498) --- CRISPResso2/CRISPRessoReports/CRISPRessoReport.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRISPResso2/CRISPRessoReports/CRISPRessoReport.py b/CRISPResso2/CRISPRessoReports/CRISPRessoReport.py index b9b9faeb..9ca895b6 100644 --- a/CRISPResso2/CRISPRessoReports/CRISPRessoReport.py +++ b/CRISPResso2/CRISPRessoReports/CRISPRessoReport.py @@ -386,7 +386,7 @@ def make_compare_report_from_folder(crispresso_report_file, crispresso2_info, fo names_arr = [] output_title = 'CRISPResso Compare Output' if crispresso2_info['running_info']['args'].name != '': - output_title += "
{crispresso2_info['running_info']['args'].name}" + output_title += f"
{crispresso2_info['running_info']['args'].name}" make_multi_report_from_folder(crispresso2_info, names_arr, output_title, crispresso_report_file, folder, _root, 'compare', logger) @@ -395,7 +395,7 @@ def make_meta_report_from_folder(crispresso_report_file, crispresso2_info, folde input_names = crispresso2_info['meta_input_names'] output_title = 'CRISPresso Meta Output' if crispresso2_info['running_info']['args'].name != '': - output_title += "
{crispresso2_info['running_info']['args'].name}" + output_title += f"
{crispresso2_info['running_info']['args'].name}" make_multi_report_from_folder(crispresso2_info, names_arr, output_title, crispresso_report_file, folder, _root, 'meta', logger, display_names=input_names) @@ -407,7 +407,7 @@ def make_wgs_report_from_folder(crispresso_report_file, crispresso2_info, folder names_arr = crispresso2_info['results']['good_region_names'] output_title = 'CRISPResso WGS Output' if crispresso2_info['running_info']['args'].name != '': - output_title += "
{crispresso2_info['running_info']['args'].name}" + output_title += f"
{crispresso2_info['running_info']['args'].name}" make_multi_report_from_folder(crispresso2_info, names_arr, output_title, crispresso_report_file, folder, _root, 'wgs', logger)