Skip to content

Commit 61ae584

Browse files
committed
Update _inconsistent_16s_assignment.html.erb
1 parent 5332146 commit 61ae584

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

app/views/registers/curation_genomics/_inconsistent_16s_assignment.html.erb

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
<tr>
1515
<th>Name, Type</th>
1616
<th>Checks</th>
17-
<th>Reported Classification</th>
1817
<th>RDP Classification</th>
1918
<th>MiGA Classification</th>
2019
</tr>
@@ -33,13 +32,7 @@
3332
) %>
3433
<% end %>
3534
</td>
36-
<td>
37-
<% show_tax_string(
38-
name.lineage.map { |i| "#{i.inferred_rank}:#{i.name}" }
39-
.join(' > ')
40-
) %>
41-
</td>
42-
<td>
35+
<td rowspan=2>
4336
<% rdp_file =
4437
genome&.miga_object&.result(:ssu)&.file_path(:classification) %>
4538
<% if rdp_file %>
@@ -62,13 +55,22 @@
6255
<% end %>
6356
<% end %>
6457
</td>
65-
<td>
58+
<td rowspan=2>
6659
<% miga_classif = genome&.miga_object&.metadata&.[](:tax) %>
6760
<% show_tax_string(
6861
miga_classif.ranks.map { |i| "#{i[0]}:#{i[1]}" }.join(' > ')
6962
) %>
7063
</td>
7164
</tr>
65+
<tr>
66+
<td colspan=2>
67+
<b>Reported Classification</b><br/>
68+
<% show_tax_string(
69+
name.lineage.map { |i| "#{i.inferred_rank}:#{i.name}" }
70+
.join(' > ')
71+
) %>
72+
</td>
73+
</tr>
7274
<% end %>
7375
</tbody>
7476
</table>

0 commit comments

Comments
 (0)