<commit_before><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<table class="${param.tableStyle}">
	<tr class="titleRow">
		<c:choose>
			<c:when test="${!empty particleDataTree[param.charType]}">
				<c:url var="url" value="${param.addAction}.do">
					<c:param name="particleId" value="${particleId}" />
					<c:param name="submitType" value="${param.charType}" />
					<c:param name="page" value="0" />
					<c:param name="dispatch" value="summaryView" />
				</c:url>
				<td class="${param.charTypeLabelStyle}">
					<a href="${url}" class="${param.charTypeStyle}">${param.charType}</a>
				</td>
			</c:when>
			<c:otherwise>
				<td class="${param.noDataLabelStyle}">
				<c:out value="${param.charType}"/>
				</td>
			</c:otherwise>
		</c:choose>
		<c:choose>
			<c:when test="${canCreateNanoparticle eq 'true'}">
				<c:url var="submitUrl"
					value="${param.addAction}.do">
					<c:param name="particleId" value="${particleId}" />
					<c:param name="submitType" value="${param.charType}" />
					<c:param name="page" value="0" />
					<c:param name="dispatch" value="setup" />
				</c:url>	
				<td>
					&nbsp;
				</td>
				<td class="${param.addLinkStyle }">
					<a href="${submitUrl}" class="addlink"><img
							src="images/btn_add.gif" border="0" /></a>
				</td>
			</c:when>
		</c:choose>
		<c:if test="${canUserDelete eq 'true' &&
				!empty particleDataTree[param.charType]}">
				<c:url var="deleteUrl" value="${param.addAction}.do">
					<c:param name="particleId" value="${particleId}" />
					<c:param name="submitType" value="${param.charType}" />
					<c:param name="page" value="0" />
					<c:param name="dispatch" value="setupDeleteAll" />
				</c:url>
				<td>
					&nbsp;
				</td>
				<td class="${param.addLinkStyle}">
					<a href="${deleteUrl}" class="addlink"><img
							src="images/btn_delete.gif" border="0" /></a>
				</td>
		</c:if>
		<td class="tdfill">
				&nbsp;
		</td>
	</tr>
</table><commit_msg>commented out summary view link for sample composition links.<commit_after><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<table class="${param.tableStyle}">
	<tr class="titleRow">
		<td class="${param.charTypeLabelStyle}">
			<c:choose>
				<c:when test="${!empty particleDataTree[param.charType]}">
					<c:choose>
						<c:when
							test="${param.charType eq 'Nanoparticle Entity' ||
									param.charType eq 'Functionalizing Entity' ||
									param.charType eq 'Chemical Association' ||
									param.charType eq 'Composition File' }">

							<a href="#" class="${param.charTypeStyle}">${param.charType}</a>

						</c:when>
						<c:otherwise>
							<c:url var="url" value="${param.addAction}.do">
								<c:param name="particleId" value="${particleId}" />
								<c:param name="submitType" value="${param.charType}" />
								<c:param name="page" value="0" />
								<c:param name="dispatch" value="summaryView" />
							</c:url>
							<a href="${url}" class="${param.charTypeStyle}">${param.charType}</a>

						</c:otherwise>
					</c:choose>
				</c:when>
				<c:otherwise>
					<td class="${param.noDataLabelStyle}">
						<c:out value="${param.charType}" />
					</td>
				</c:otherwise>
			</c:choose>
		</td>
		<c:choose>
			<c:when test="${canCreateNanoparticle eq 'true'}">
				<c:url var="submitUrl" value="${param.addAction}.do">
					<c:param name="particleId" value="${particleId}" />
					<c:param name="submitType" value="${param.charType}" />
					<c:param name="page" value="0" />
					<c:param name="dispatch" value="setup" />
				</c:url>
				<td>
					&nbsp;
				</td>
				<td class="${param.addLinkStyle }">
					<a href="${submitUrl}" class="addlink"><img
							src="images/btn_add.gif" border="0" /> </a>
				</td>
			</c:when>
		</c:choose>
		<c:if
			test="${canUserDelete eq 'true' &&
				!empty particleDataTree[param.charType]}">
			<c:url var="deleteUrl" value="${param.addAction}.do">
				<c:param name="particleId" value="${particleId}" />
				<c:param name="submitType" value="${param.charType}" />
				<c:param name="page" value="0" />
				<c:param name="dispatch" value="setupDeleteAll" />
			</c:url>
			<td>
				&nbsp;
			</td>
			<td class="${param.addLinkStyle}">
				<a href="${deleteUrl}" class="addlink"><img
						src="images/btn_delete.gif" border="0" /> </a>
			</td>
		</c:if>
		<td class="tdfill">
			&nbsp;
		</td>
	</tr>
</table>
{'fraction_non_alphanumeric': 0.22935576710205888, 'fraction_numerical': 0.002213858755811379, 'mean_word_length': 3.4865938430983117, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 0, '>': 129, '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': '3629568', 'n_tokens_mistral': 2053, 'n_tokens_neox': 1612, 'n_words': 276}