<%@page import="java.util.ArrayList"%>
-<%@ page trimDirectiveWhitespaces="true" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
-<%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>
+<%@ page trimDirectiveWhitespaces="true"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://displaytag.sf.net" prefix="dt"%>
<h3>Dundee ProteoCache query result</h3>
-<table border="1" style = "border-collapse: collapse; white-space: nowrap">
-<c:choose>
-<c:when test="${checkbox == 'AllProtein'}">
-<thead>
-<tr>
-<th style="text-align: centre">Number of jobs</th>
-<th style="text-align: left">Protein</th>
-</tr>
-</thead>
-<tbody>
-<c:forEach items="${result}" var="res">
-<tr>
-<td> ${res.totalId}</td>
-<td style=" text-align: left; border-buttom: dotted; font-family: monospace"><a title="Click to view predictions" href="ProtServlet?prot=${res.prot}&protein=whole&Search=Search">${res.prot}</a> </td>
-</tr>
-</c:forEach>
-</c:when>
-<c:otherwise>
-<thead>
-<tr>
-<th style="text-align: centre">ID</th>
-<th style="text-align: centre">Prediction</th>
-</tr>
-</thead>
-<tbody>
-<c:forEach items="${result}" var="res" varStatus="status">
-<tr>
-<td rowspan="2">${res.id}</td>
-<c:if test ="${flag == 'whole'}">
-<td style=" text-align: left; border-buttom: dotted; font-family: monospace"><c:out value = "${res.prot}" /></td>
-</c:if>
-<c:if test ="${flag == 'part'}">
-<td style=" text-align: left; border-buttom: dotted; font-family: monospace">
-<c:forEach items="${res.subProt}" var="seq">
-<c:choose>
-<c:when test="${fn:contains(seq, prot)}"><span style="background-color:blue">${seq}</span></c:when>
-<c:otherwise>${seq}</c:otherwise>
-</c:choose>
-</c:forEach>
-</td>
-</c:if>
-</tr>
-<tr>
-<td style="text-align: left; border-top: hidden; font-family: monospace"><c:out value = "${res.jpred}" /></td>
-</tr>
-</c:forEach>
-</c:otherwise>
-</c:choose>
-</tbody>
+<table border="1" style="border-collapse: collapse; white-space: nowrap">
+ <c:choose>
+ <c:when test="${checkbox == 'AllProtein'}">
+ <thead>
+ <tr>
+ <th style="text-align: centre">Number of jobs</th>
+ <th style="text-align: left">Protein</th>
+ </tr>
+ </thead>
+ <tbody>
+ <c:forEach items="${result}" var="res">
+ <tr>
+ <td>${res.totalId}</td>
+ <td
+ style="text-align: left; border-buttom: dotted; font-family: monospace"><a
+ title="Click to view predictions"
+ href="ProtServlet?prot=${res.prot}&protein=whole&Search=Search">${res.prot}</a>
+ </td>
+ </tr>
+ </c:forEach>
+ </c:when>
+ <c:otherwise>
+ <thead>
+ <tr>
+ <th style="text-align: centre">ID</th>
+ <th style="text-align: centre">Prediction</th>
+ </tr>
+ </thead>
+ <tbody>
+ <c:forEach items="${result}" var="res" varStatus="status">
+ <tr>
+ <td rowspan="2">${res.id}</td>
+ <c:if test="${flag == 'whole'}">
+ <td
+ style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
+ value="${res.prot}" /></td>
+ </c:if>
+ <c:if test="${flag == 'part'}">
+ <td
+ style="text-align: left; border-buttom: dotted; font-family: monospace">
+ <c:forEach items="${res.subProt}" var="seq">
+ <c:choose>
+ <c:when test="${fn:contains(seq, prot)}">
+ <span style="background-color: blue">${seq}</span>
+ </c:when>
+ <c:otherwise>${seq}</c:otherwise>
+ </c:choose>
+ </c:forEach>
+ </td>
+ </c:if>
+ </tr>
+ <tr>
+ <td
+ style="text-align: left; border-top: hidden; font-family: monospace"><c:out
+ value="${res.jpred}" /></td>
+ </tr>
+ </c:forEach>
+ </c:otherwise>
+ </c:choose>
+ </tbody>
</table>