Skip to content

Commit b8000a2

Browse files
committed
Update _inconsistent_16s_assignment.erb
1 parent 126f4ae commit b8000a2

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<%= pager(@names) %>
2+
3+
<table class="table table-hover table-responsive">
4+
<thead>
5+
<tr>
6+
<th>Name, Type</th>
7+
<th>Checks</th>
8+
<th>RDP Classification</th>
9+
</tr>
10+
</thead>
11+
<tbody>
12+
<% @names.each do |name| %>
13+
<% genome = name.type_genome %>
14+
<tr>
15+
<td><%= display_link(name) %>, <%= display_link(genome) %></td>
16+
<td class="curator-checklist">
17+
<% @checks[@check].each do |check_type| %>
18+
<% warn = name.qc_warnings[check_type] or next %>
19+
<%= render(
20+
partial: 'checks/curator',
21+
locals: { warn: warn, no_message: true, no_section: true }
22+
) %>
23+
<% end %>
24+
</td>
25+
<td>
26+
<% if genome %>
27+
<% rdp_cl = genome.miga_object&.result(:ssu)&.[](:classification) %>
28+
<%= rdp_cl %>
29+
<% end %>
30+
</td>
31+
</tr>
32+
<% end %>
33+
</tbody>
34+
</table>
35+
<%= render(partial: 'checks/curator_script') %>
36+
<%= pager(@names) %>

0 commit comments

Comments
 (0)