Skip to content

Commit

Permalink
add crispr group counts linked to design on the gene summary page
Browse files Browse the repository at this point in the history
  • Loading branch information
sajp committed Apr 27, 2015
1 parent 0167ec3 commit c281d9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/LIMS2/WebApp/Controller/User/Report/Gene.pm
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ sub _add_crispr_well_values {
= scalar(@{ $design_summary->{ all_crisprs } });
$designs_hash->{$design_id}->{ design_details }->{ crispr_pair_count }
= scalar(@{ $design_summary->{ all_pairs } });
$designs_hash->{$design_id}->{ design_details }->{ crispr_group_count }
= scalar(@{ $design_summary->{ all_groups } });

foreach my $crispr_id (keys %{ $design_summary->{plated_crisprs} }){

Expand Down
2 changes: 2 additions & 0 deletions root/site/user/report/gene_summary_report.tt
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,7 @@ function toggle_btn(btn, show_or_hide) {
<th>Assigned genes</th>
<th>Crispr Count</th>
<th>Crispr Pair Count</th>
<th>Crispr Group Count</th>
</tr>
</thead>
<tbody>
Expand All @@ -1019,6 +1020,7 @@ function toggle_btn(btn, show_or_hide) {
%]</td>
<td>[% designs.item(skey).design_details.crispr_count %]</td>
<td>[% designs.item(skey).design_details.crispr_pair_count %]</td>
<td>[% designs.item(skey).design_details.crispr_group_count %]</td>
</tr>
[%- END %]
</tbody>
Expand Down

0 comments on commit c281d9f

Please sign in to comment.