Skip to content

Commit

Permalink
Display proper metrics for zero coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcam committed Apr 4, 2024
1 parent 50338e4 commit febcf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npg_qc_viewer/root/src/ui_lanes/lane.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ END
END;
coverage = result.target_bases_coverage_percent.20 ? result.target_bases_coverage_percent.20 : 0;
-%]
[% IF mcoverage > 0 %]
[% IF mcoverage >= 0 %]
[% IF result.interval_files_identical.defined && result.interval_files_identical == 1 %]
<span class="pdmc_na" title="Bait and target intervals identical"><a href="[% href %]">NA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NA<br/></a></span>
<span class="dark_blue" title="On-bait bases %age"><a href="[% href %]">[% FILTER format('%2.2f');on_bait;END %]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></span>
Expand Down

0 comments on commit febcf64

Please sign in to comment.