Skip to content

Commit

Permalink
Create plot only when meaningful
Browse files Browse the repository at this point in the history
Don't create plot when there are too many features.
  • Loading branch information
veghp committed Jun 25, 2024
1 parent fef39ce commit f172532
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions epijinn/report_assets/report.pug
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ each bedmethylitem in bedmethylitemgroup.bedmethylitems
h3 {{ bedresult.mod_abbreviation }} ({{ bedresult.modification }})    ×    {{ bedresult.methylase_str }}
hr

//- if bedresult.img_created
if bedresult.img_created

img#diff-figure(src="{{ bedresult.figure_data }}")
img#diff-figure(src="{{ bedresult.figure_data }}")

//- else
//- p The pattern was found more than {{ bedresult.feature_cutoff }} times, therefore the sequence plot was not created.
else
p The pattern was found more than <b>{{ bedresult.feature_cutoff }}</b> times, therefore the sequence plot was not created.

p Bedmethyl table:

Expand Down

0 comments on commit f172532

Please sign in to comment.