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

<t:genericpage>

	<jsp:attribute name="title">Histopath Information for ${gene.markerName}</jsp:attribute>

<jsp:attribute name="breadcrumb">&nbsp;&raquo;<a href='${baseUrl}/genes/${gene.mgiAccessionId}'>${gene.markerSymbol}</a>&nbsp;&raquo; Histopathology Detailed View</jsp:attribute>


	<jsp:attribute name="header">

       
    </jsp:attribute>


	<jsp:attribute name="addToFooter">
   

        <%-- <div class="region region-pinned">

            <div id="flyingnavi" class="block">

                <a href="#top"><i class="fa fa-chevron-up"
					title="scroll to top"></i></a>

                <ul>
                    <c:if test="${imageCount ne 0}">
                        <li><a href="#top">Images</a></li>
                        </c:if>
                </ul>

                <div class="clear"></div>

            </div>

        </div> --%>
    </jsp:attribute>

	<jsp:body>
        <div class="region region-content">
            <div class="block block-system">
                <div class="content">
                    <div class="node node-gene">
                    
                     <h2 class="title "
									id="section-associations">Histopathology for ${gene.markerSymbol}<%-- : ${gene.markerName} --%></h2>
                     
                    
                    
                    <div class="section">
							<div class="inner">
							 ${gene.markerSymbol}: ${gene.markerName}
							 
							 <table id="histopath" class="table tableSorter">
							
							<thead>
							<tr>
							

							<th class="headerSort">
							Histopathology
							</th>
							<th>
							SampleId
							</th>
							<th>
							SeqId
							</th>
							<th>
							Severity
							</th>
							<th>
							Observation
							</th>
					
							<th>
							Diagnostic
							</th>
							<th>
							Description
							</th>
							<th>
							Free Text
							</th>
							<th>
							Images
							</th>
							<%-- <th>Sample Id</th> --%>
						
							
							
							</tr>
							</thead>
								<c:forEach var="histRow" items="${histopathRows}">
								
								<tr>
									
									<td>
										${histRow.anatomyName}
										
										<c:choose>
											<c:when test="${fn:length(histRow.patoOntologyBeans) == 0}">
										
											</c:when>
										<c:otherwise>
										,
											<c:forEach var="parameter" items="${histRow.patoOntologyBeans }">
												<c:forEach var="value" items="${parameter.value }">
													${value.name }											
												</c:forEach>
											</c:forEach>
										</c:otherwise>
										</c:choose> 
									
									
										<c:choose>
											<c:when test="${fn:length(histRow.mpathProcessOntologyBeans) == 0}">
										
											</c:when>
											<c:otherwise>
												<c:forEach var="parameter" items="${histRow.mpathProcessOntologyBeans }">
													<!-- do for each here values-->
													<c:forEach var="value" items="${parameter.value }">
											 		<%-- <td title="${value.description }"> --%>
														${value.name }
													<%-- </td> --%>
													</c:forEach>
										
												</c:forEach> 
											</c:otherwise>
										</c:choose>
										
										
										
									</td>
									<td>
									${histRow.sampleId}
									</td>
									<td>
									${histRow.sequenceId}
									</td>
									
									<td>
									<c:forEach var="parameter" items="${histRow.severity }">
										
											${parameter.textValue }
										
									</c:forEach> 
									</td>
									
									
									<td>
									
									<c:if test="${fn:length(histRow.significance) ==0 }">
									Normal
									</c:if>
									<c:forEach var="parameter" items="${histRow.significance }">
										<c:choose>
											<c:when test="${parameter.textValue eq 'Significant'}">
											Abnormal
											</c:when>
											<c:otherwise>
											Normal
											</c:otherwise><commit_msg>added "Not Annotated" when null in histopath table<commit_after><%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="t" tagdir="/WEB-INF/tags"%>

<t:genericpage>

	<jsp:attribute name="title">Histopath Information for ${gene.markerName}</jsp:attribute>

<jsp:attribute name="breadcrumb">&nbsp;&raquo;<a href='${baseUrl}/genes/${gene.mgiAccessionId}'>${gene.markerSymbol}</a>&nbsp;&raquo; Histopathology Detailed View</jsp:attribute>


	<jsp:attribute name="header">

       
    </jsp:attribute>


	<jsp:attribute name="addToFooter">
   

        <%-- <div class="region region-pinned">

            <div id="flyingnavi" class="block">

                <a href="#top"><i class="fa fa-chevron-up"
					title="scroll to top"></i></a>

                <ul>
                    <c:if test="${imageCount ne 0}">
                        <li><a href="#top">Images</a></li>
                        </c:if>
                </ul>

                <div class="clear"></div>

            </div>

        </div> --%>
    </jsp:attribute>

	<jsp:body>
        <div class="region region-content">
            <div class="block block-system">
                <div class="content">
                    <div class="node node-gene">
                    
                     <h2 class="title "
									id="section-associations">Histopathology for ${gene.markerSymbol}<%-- : ${gene.markerName} --%></h2>
                     
                    
                    
                    <div class="section">
							<div class="inner">
							 ${gene.markerSymbol}: ${gene.markerName}
							 
							 <table id="histopath" class="table tableSorter">
							
							<thead>
							<tr>
							

							<th class="headerSort">
							Histopathology
							</th>
							<th>
							SampleId
							</th>
							<th>
							SeqId
							</th>
							<th>
							Severity
							</th>
							<th>
							Observation
							</th>
					
							<th>
							Diagnostic
							</th>
							<th>
							Description
							</th>
							<th>
							Free Text
							</th>
							<th>
							Images
							</th>
							<%-- <th>Sample Id</th> --%>
						
							
							
							</tr>
							</thead>
								<c:forEach var="histRow" items="${histopathRows}">
								
								<tr>
									
									<td>
										${histRow.anatomyName}
										
										<c:choose>
											<c:when test="${fn:length(histRow.patoOntologyBeans) == 0}">
										
											</c:when>
										<c:otherwise>
										,
											<c:forEach var="parameter" items="${histRow.patoOntologyBeans }">
												<c:forEach var="value" items="${parameter.value }">
													${value.name }											
												</c:forEach>
											</c:forEach>
										</c:otherwise>
										</c:choose> 
									
									
										<c:choose>
											<c:when test="${fn:length(histRow.mpathProcessOntologyBeans) == 0}">
										
											</c:when>
											<c:otherwise>
												<c:forEach var="parameter" items="${histRow.mpathProcessOntologyBeans }">
													<!-- do for each here values-->
													<c:forEach var="value" items="${parameter.value }">
											 		<%-- <td title="${value.description }"> --%>
														${value.name }
													<%-- </td> --%>
													</c:forEach>
										
												</c:forEach> 
											</c:otherwise>
										</c:choose>
										
										
										
									</td>
									<td>
									${histRow.sampleId}
									</td>
									<td>
									${histRow.sequenceId}
									</td>
									
									<td>
									<c:forEach var="parameter" items="${histRow.severity }">
										
											${parameter.textValue }
										
									</c:forEach> 
									</td>
									
									
									<td>
									
									<c:if test="${fn:length(histRow.significance) ==0 }">
									Not Annotated
									</c:if>
									<c:forEach var="parameter" items="${histRow.significance }">
										<c:choose>
											<c:when test="${parameter.textValue eq 'Significant'}">
											Abnormal
											</c:when>
											<c:otherwise>
											Normal
											</c:otherwise>
{'fraction_non_alphanumeric': 0.16396903589021816, 'fraction_numerical': 0.0014074595355383533, 'mean_word_length': 1.3368046040010961, 'pattern_counts': {'":': 0, '<': 235, '<?xml version=': 0, '>': 235, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4732493', 'n_tokens_mistral': 4531, 'n_tokens_neox': 2552, 'n_words': 409}