anchor.diff:   <tr>
    <td>
        <%--FULL GFF --%>
  -   <c:if test="${project == 'Celniker' && fn:containsIgnoreCase(exp.name,'Gene Model')}" >
  +   <c:if test="${project == 'Celniker' 
  +   && fn:containsIgnoreCase(exp.name,'Gene Model')
  +   && hasFeat != 'false'}" >
       <html:link 
           href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=experiment&action=export&experiment=${exp.name}&project=${project}&feature=all&format=gff3"
           title="Download in GFF3 format"><b>GFF3 for the experiment (with Genes, UTRs, Transcripts, mRNA, Codons, CDS, polyA sites)</b></html:link>
      </c:if>
  -   <c:if test="${project == 'Piano' && fn:containsIgnoreCase(exp.name,'Encyclopedia')}" >
  +   <c:if test="${project == 'Piano' 
  +   && fn:containsIgnoreCase(exp.name,'Encyclopedia')
  +      && hasFeat != 'false'}" >
       <html:link 
           href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=experiment&action=export&experiment=${exp.name}&project=${project}&feature=all&format=gff3"
           title="Download in GFF3 format"><b>GFF3 for the experiment (with Genes, UTRs, Transcripts, mRNA)</b></html:link>
      </c:if>
  -   <c:if test="${project == 'Waterston' && fn:containsIgnoreCase(exp.name,'Definition')}" >
  +   <c:if test="${project == 'Waterston' 
  +   && fn:containsIgnoreCase(exp.name,'Definition')
  +      && hasFeat != 'false'}" >
       <html:link 
           href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=experiment&action=export&experiment=${exp.name}&project=${project}&feature=all&format=gff3"
           title="Download in GFF3 format"><b>GFF3 for the experiment (with Transcripts, introns, exons, polyA sites, TSS, TES, acceptor sites)</b></html:link>
      </c:if>
  - 
  - 
  - 
  - 
    </td>
  +
        <td align="top"><b>
          <im:querylink text="All entries in public repositories generated by this experiment" skipBuilder="true" title="View all submissions to public repositories (AE, GEO, SRA) for this experiment">
           <query name="" model="genomic" view="Experiment.name Experiment.submissions.DCCid Experiment.submissions.databaseRecords.database Experiment.submissions.databaseRecords.accession Experiment.submissions.databaseRecords.url" sortOrder="Experiment.name asc">
  
positive.code:       <td class="sorting">
        <html:link href="/${WEB_PROPERTIES['webapp.path']}/objectDetails.do?id=${subCounts.key.id}">
        <c:out value="${sub.dCCid}"></c:out></html:link>
  <%-- RELATED SUBMISSIONS : TMP out for releasing new webapp on old build 17
        <p>
          <c:forEach items="${sub.relatedSubmissions}" var="relSubs" varStatus="rstatus">
          <br>
          <c:if test="${rstatus.first}">Related to: </c:if>
  <html:link href="/${WEB_PROPERTIES['webapp.path']}/objectDetails.do?id=${relSubs.dCCid}">
  <c:out value="${relSubs.dCCid}"></c:out></html:link>
          <c:if test="${rstatus.last}"></c:if>
          </c:forEach>
        
      --%>  
        
        </td>
  
  
  
        <td class="sorting"><html:link href="/${WEB_PROPERTIES['webapp.path']}/objectDetails.do?id=${subCounts.key.id}"><c:out value="${sub.title}"></c:out></html:link></td>
        
  <%--
        <td class="sorting">
          <c:forEach items="${sub.relatedSubmissions}" var="relSubs">
  <html:link href="/${WEB_PROPERTIES['webapp.path']}/objectDetails.do?id=${relSubs}">
  <c:out value="${relSubs}"></c:out></html:link>
          </c:forEach>
        </td>
  --%>
  <%-- FACTORS --%>	
  	  <c:forEach items="${exp.factorTypes}" var="factorType">
  	  <c:set var="thisTypeCount" value="0"></c:set>
  
negative.code: 
                    </im:querylink>
  
  </c:when>
  </c:choose>
  
  </c:when>
                 		<c:otherwise>
  