File tree Expand file tree Collapse file tree
app/views/registers/curation_genomics Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727< table class ="table table-hover table-responsive ">
2828 < thead >
2929 < tr >
30- < th > Name, Type</ th >
30+ < th > Name, Type, Reported Classification </ th >
3131 < th > Checks</ th >
3232 < th > Discrepancies</ th >
33- < th > Reported Classification</ th >
3433 < th > MiGA Distances (top 3 AAI)</ th >
3534 < th > MiGA Taxonomy (top 3 AAI)</ th >
3635 </ tr >
5958 <% end %>
6059 <% end %>
6160 </ td >
62- < td >
63- <% show_tax_string (
64- name . lineage . map { |i | "#{ i . inferred_rank } :#{ i . name } " }
65- . join ( ' > ' )
66- ) %>
67- </ td >
6861 <% if genome %>
6962 <% miga_obj = genome . miga_object %>
70- < td >
63+ < td rowspan = 2 >
7164 <% cr = miga_obj &.closest_relatives ( 3 , false , :aai ) || [ ] %>
7265 <% show_aai ( cr ) %>
7366 </ td >
74- < td >
67+ < td rowspan = 2 >
7568 < b > <%= ( miga_obj &.metadata || { } ) [ :tax ] %> </ b > < br />
7669 <% cr = miga_obj &.closest_relatives ( 3 , true , :aai ) || [ ] %>
7770 <% show_aai ( cr ) %>
7871 </ td >
7972 <% else %>
80- < td colspan =2 class ="text-danger "> Undefined type genome</ td >
73+ < td colspan =2 rowspan = 2 class ="text-danger "> Undefined type genome</ td >
8174 <% next %>
8275 <% end %>
8376 </ tr >
77+ < tr >
78+ < td colspan =3 >
79+ <% show_tax_string (
80+ name . lineage . map { |i | "#{ i . inferred_rank } :#{ i . name } " }
81+ . join ( ' > ' )
82+ ) %>
83+ </ td >
84+ </ tr >
8485 <% end %>
8586 </ tbody >
8687</ table >
You can’t perform that action at this time.
0 commit comments