Skip to content

Commit

Permalink
Fix missing substitution in name of WGS, Compare and Meta reports (#110
Browse files Browse the repository at this point in the history
  • Loading branch information
Colelyman authored Oct 29, 2024
1 parent b40330c commit 82a74e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CRISPResso2/CRISPRessoReports/CRISPRessoReport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 += "<br/>{crispresso2_info['running_info']['args'].name}"
output_title += f"<br/>{crispresso2_info['running_info']['args'].name}"
make_multi_report_from_folder(crispresso2_info, names_arr, output_title, crispresso_report_file, folder, _root, 'compare', logger)


Expand All @@ -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 += "<br/>{crispresso2_info['running_info']['args'].name}"
output_title += f"<br/>{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)

Expand All @@ -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 += "<br/>{crispresso2_info['running_info']['args'].name}"
output_title += f"<br/>{crispresso2_info['running_info']['args'].name}"
make_multi_report_from_folder(crispresso2_info, names_arr, output_title, crispresso_report_file, folder, _root, 'wgs', logger)


Expand Down

0 comments on commit 82a74e8

Please sign in to comment.