Compare:
<% if(newImg.imageId) { %> <% } else { %>
<% } %>
Matching
Dimensions (XY):
<%= selImg.orig_width %> x <%= selImg.orig_height %>
<%= newImg.orig_width || "-" %> x <%= newImg.orig_height || "-" %>
<%= ok(comp.orig_width, comp.orig_height) %>
Z-sections:
<%= selImg.sizeZ %>
<%= newImg.sizeZ || "-" %>
<%= ok(comp.sizeZ) %>
Time-points:
<%= selImg.sizeT %>
<%= newImg.sizeT || "-" %>
<%= ok(comp.sizeT) %>
Channels:
<% _.each(selImg.channels, function(ch, i) { %> <%= ch.label %><% if(i < selImg.channels.length-1){print(',')} %> <% }); %>
<% if(newImg.channels){ _.each(newImg.channels, function(ch, i) { %> <%= ch.label %><% if(i < newImg.channels.length-1){print(',')} %> <% }) } else { print("-") } %>
<%= comp.channels || "-" %>
<% _.each(messages, function(m) { %>
<%= m.text %>
<% }); %> <% if (newImg.imageId && messages.length == 0) { print("
Perfect Match!
") } %>