Skip to content

Commit

Permalink
Update if statement to match pro
Browse files Browse the repository at this point in the history
  • Loading branch information
Snicker7 committed Mar 29, 2024
1 parent e03ba9c commit b2f8588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRISPResso2/CRISPRessoPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def plot_nucleotide_quilt(nuc_pct_df,mod_pct_df,fig_filename_root, custom_colors

plot_y_start = ref_y_start - 0.1

if sgRNA_intervals and len(sgRNA_intervals) > 0:
if sgRNA_intervals:
sgRNA_rows = get_rows_for_sgRNA_annotation(sgRNA_intervals, amp_len)
num_sgRNA_rows = max(sgRNA_rows) + 1
sgRNA_y_height = num_sgRNA_rows * 0.3
Expand Down

0 comments on commit b2f8588

Please sign in to comment.