<commit_before><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:choose>
	<c:when
		test="${displaytype == 'Composition' ||
				displaytype == 'Nanoparticle Entity' ||
				displaytype == 'Functionalizing Entity' ||
				displaytype == 'Chemical Association' ||
				displaytype == 'Composition File'}">
		<c:set var="compDisplay" value="display: block;" />
	</c:when>
	<c:otherwise>
		<c:set var="compDisplay" value="display: none;" />
	</c:otherwise>
</c:choose>

<c:choose>
	<c:when
		test="${hasCompositionData eq 'true' || canCreateNanoparticle eq 'true'}">
		<c:set var="compositionType" value="Composition" />
		<li class="controlList">
			<a href="#" class="subMenuSecondary">SAMPLE COMPOSITION</a>

			<ul class="sublist_4" style="">
				<c:forEach var="compoDataBean"
					items="${compositionTypes[compositionType]}">
					<%--				<c:url var="submitUrl" value="nanoparticleEntity.do">--%>
					<%--					<c:param name="particleId" value="${particleId}" />--%>
					<%--					<c:param name="page" value="0" />--%>
					<%--					<c:param name="dispatch" value="setup" />--%>
					<%--				</c:url>--%>

					<li>
						<jsp:include page="sideParticleCharacterizationMenuButtons.jsp">
							<jsp:param name="charType"
								value="${compoDataBean.dataDisplayType}" />
							<jsp:param name="charTypeStyle" value="sublist_4" />
							<jsp:param name="charTypeLabelStyle" value="titleCell2" /><commit_msg>display composition sidemenu when clicked the submenu of the composition side menu.<commit_after><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:choose>
	<c:when
		test="${displaytype == 'Composition' ||
				displaytype == 'Nanoparticle Entity' ||
				displaytype == 'Functionalizing Entity' ||
				displaytype == 'Chemical Association' ||
				displaytype == 'Composition File'}">
		<c:set var="compDisplay" value="display: block;" />
	</c:when>
	<c:otherwise>
		<c:set var="compDisplay" value="display: none;" />
	</c:otherwise>
</c:choose>
<c:choose>
	<c:when
		test="${hasCompositionData eq 'true' || canCreateNanoparticle eq 'true'}">
		<c:set var="compositionType" value="Composition" />
		<li class="controlList">
			<a href="#" class="subMenuSecondary">SAMPLE COMPOSITION</a>

			<ul class="sublist_4" style="${compDisplay}">
				<c:forEach var="compoDataBean"
					items="${compositionTypes[compositionType]}">
					<%--				<c:url var="submitUrl" value="nanoparticleEntity.do">--%>
					<%--					<c:param name="particleId" value="${particleId}" />--%>
					<%--					<c:param name="page" value="0" />--%>
					<%--					<c:param name="dispatch" value="setup" />--%>
					<%--				</c:url>--%>

					<li>
						<jsp:include page="sideParticleCharacterizationMenuButtons.jsp">
							<jsp:param name="charType"
								value="${compoDataBean.dataDisplayType}" />
							<jsp:param name="charTypeStyle" value="sublist_4" />
							<jsp:param name="charTypeLabelStyle" value="titleCell2" />
{'fraction_non_alphanumeric': 0.20429009193054137, 'fraction_numerical': 0.002723867892407218, 'mean_word_length': 4.118466898954704, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '2225824', 'n_tokens_mistral': 1223, 'n_tokens_neox': 994, 'n_words': 171}