Skip to content

Commit c2a10c4

Browse files
committed
Make fig_filename_root default to None, in which case the figure is shown interactively - e.g. in a jupyter notebook
1 parent 6e98677 commit c2a10c4

File tree

4 files changed

+216
-162
lines changed

4 files changed

+216
-162
lines changed

CRISPResso2/CRISPRessoCORE.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3749,7 +3749,7 @@ def count_alternate_alleles(sub_base_vectors, ref_name, ref_sequence, ref_total_
37493749
'N_READS_INPUT': N_READS_INPUT,
37503750
'N_READS_AFTER_PREPROCESSING': N_READS_AFTER_PREPROCESSING,
37513751
'N_TOTAL': N_TOTAL,
3752-
'plot_root': plot_1a_root,
3752+
'fig_filename_root': plot_1a_root,
37533753
'save_png': save_png
37543754
}
37553755
debug('Plotting read bar plot', {'percent_complete': 42})
@@ -4480,6 +4480,7 @@ def count_alternate_alleles(sub_base_vectors, ref_name, ref_sequence, ref_total_
44804480
fig_filename_root= _jp('10a.'+ref_plot_name+'Substitution_frequencies_at_each_bp')
44814481
plot_10a_input = {
44824482
'ref_len': ref_len,
4483+
'ref_seq': ref_seq,
44834484
'ref_name': ref_name,
44844485
'ref_count': tot_aln_reads,
44854486
'all_substitution_base_vectors': all_substitution_base_vectors,

0 commit comments

Comments
 (0)