<commit_before><%--
  Created by IntelliJ IDEA.
  User: ckc
  Date: 15/02/2016
  Time: 19:53
  To change this template use File | Settings | File Templates.
--%>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="t" tagdir="/WEB-INF/tags" %>


<!-- IMPC Phenotype Associated Images -->
<%--<div class="section">--%>
  <%--<h2 class="title" id="section-impc-images">IMPC Phenotype Associated Images<span--%>
          <%--class="documentation"><a href='' id='impcImagesPanel'--%>
                                   <%--class="fa fa-question-circle pull-right"></a></span>--%>
  <%--</h2>--%>

<div class="accordion-body" style="display: block">
     <div id="grid">
<c:forEach var="entry" items="${impcImageFacets}" varStatus="status">

  			<c:forEach var="doc"
             items="${impcFacetToDocs[entry.name]}">
    
    	<ul>
          <%--  <c:choose>
           	<c:when test="${doc.parameter_name eq 'Images'}">
           		${doc.procedure_name}
           	</c:when>
           	<c:otherwise>
            	${doc.parameter_name}
           	</c:otherwise>
           </c:choose> --%>
           <%-- (${entry.count}) --%>
        
          
            <c:set var="href" scope="page"
                   value="${baseUrl}/imageComparator/${acc}/${entry.name}"></c:set>
            <a href="${href}">
              <t:impcimgdisplay2
                      img="${doc}"
                      impcMediaBaseUrl="${impcMediaBaseUrl}"
                      pdfThumbnailUrl="${pdfThumbnailUrl}"
                      href="${href}"
                      count="${entry.count}"
                      parameterName="${doc.parameter_name}"></t:impcimgdisplay2>
            </a>
           
          


            <%--  <div class="clear"></div>
                <c:if test="${entry.count>5}">
                    <p class="textright"><a href="${baseUrl}/images?gene_id=${acc}&fq=expName:${entry.name}"><i class="fa fa-caret-right"></i> show all ${entry.count} images</a></p>
                </c:if> --%>
          
		</ul>
  			</c:forEach>
   		

<commit_msg>uses procedure name if param name is Images<commit_after><%--
  Created by IntelliJ IDEA.
  User: ckc
  Date: 15/02/2016
  Time: 19:53
  To change this template use File | Settings | File Templates.
--%>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="t" tagdir="/WEB-INF/tags" %>


<!-- IMPC Phenotype Associated Images -->
<%--<div class="section">--%>
  <%--<h2 class="title" id="section-impc-images">IMPC Phenotype Associated Images<span--%>
          <%--class="documentation"><a href='' id='impcImagesPanel'--%>
                                   <%--class="fa fa-question-circle pull-right"></a></span>--%>
  <%--</h2>--%>

<div class="accordion-body" style="display: block">
     <div id="grid">
<c:forEach var="entry" items="${impcImageFacets}" varStatus="status">

  			<c:forEach var="doc"
             items="${impcFacetToDocs[entry.name]}">
    
    	<ul>
    	<c:set var="label" value="${doc.parameter_name}"/>
       	<c:if test="${doc.parameter_name eq 'Images'}">
           		<c:set var="label" value="${doc.procedure_name}"/>
        </c:if>
           <%-- (${entry.count}) --%>
        
          
            <c:set var="href" scope="page"
                   value="${baseUrl}/imageComparator/${acc}/${entry.name}"></c:set>
            <a href="${href}">
              <t:impcimgdisplay2
                      img="${doc}"
                      impcMediaBaseUrl="${impcMediaBaseUrl}"
                      pdfThumbnailUrl="${pdfThumbnailUrl}"
                      href="${href}"
                      count="${entry.count}"
                      parameterName="${label}"></t:impcimgdisplay2>
            </a>
           
          


            <%--  <div class="clear"></div>
                <c:if test="${entry.count>5}">
                    <p class="textright"><a href="${baseUrl}/images?gene_id=${acc}&fq=expName:${entry.name}"><i class="fa fa-caret-right"></i> show all ${entry.count} images</a></p>
                </c:if> --%>
          
		</ul>
  			</c:forEach>
   		


{'fraction_non_alphanumeric': 0.20496603420004686, 'fraction_numerical': 0.007964394471773249, 'mean_word_length': 1.9347079037800687, 'pattern_counts': {'":': 0, '<': 98, '<?xml version=': 0, '>': 100, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3402672', 'n_tokens_mistral': 1466, 'n_tokens_neox': 1357, 'n_words': 215}