<commit_before><%@ include file="/common/taglibs.jsp"%>
<c:set var="counter" value="${analysisStepCounter}"/>
<form 
	method="post" 
	onsubmit="return TreeBASE.analysisEditor.checkValue(this,${counter},'${publicationState}')" 
	id="form${counter}" 
	action="/treebase-web/user/analysisStepForm.html?id=<c:out value="${analysisStepCommand.id}"/>">
<input type="hidden" name="redirect" value="${redirect}"/>
<fieldset class="analysisStep">
	<legend>
		<a onclick="TreeBASE.collapseExpand('analysisStepCommand<c:out value="${analysisStepCommand.id}"/>','block',this)"
			style="border:none"
			title="collapse">
			<c:if test="${editable}">
				<img 
					class="iconButton" 
					src="<fmt:message key="icons.collapse"/>"
					style="vertical-align:middle" 
					alt="collapse" />
			</c:if>
			<c:if test="${!editable}">
				<img 
					class="iconButton" 
					src="<fmt:message key="icons.expand"/>"
					style="vertical-align:middle" 
					alt="collapse" />
			</c:if>			
		</a>	
		Analysis step
		<c:if test="${editable}">
			<a 
				href="#" 
				class="openHelp" 
				onclick="openHelp('analysisStepDetailsViewEdit')">
				<img class="iconButton" alt="help" src="<fmt:message key="icons.help"/>" />
			</a>	
		</c:if>
	</legend>	
	<h2 style="font-size:small">
		<span class="isAnalysisStepValid" title="${analysisStepCommand.id}" style="display:none">
			<img 
				class="iconButton" 
				src="<fmt:message key="icons.notanalyzed"/>" 
				title="<fmt:message key="analysis.notvalidated"/>" 
				alt="<fmt:message key="analysis.notvalidated"/>"/>			
		</span>
		<a href="/treebase-web/search/downloadAnAnalysisStep.html?analysisid=${analysisStepCommand.id}&id=${analysisStepCommand.analysis.study.id}">
			<img 
				class="iconButton" 
				src="<fmt:message key="icons.download.reconstructed"/>" 
				title="<fmt:message key="download.reconstructedfile"/>" 
				alt="<fmt:message key="download.reconstructedfile"/>"/>	
		</a>		
		<c:if test="${not empty analysisStepCommand.displayName}">
			<c:out value="${analysisStepCommand.displayName}"/>
		</c:if>	
		<c:if test="${empty analysisStepCommand.displayName}">
			<em>Untitled</em>
		</c:if>			
	</h2>
	<div <c:if test="${!editable}">style="display:none"</c:if> id="analysisStepCommand<c:out value="${analysisStepCommand.id}"/>"><commit_msg>Disabled analysis download as requested in #2972107, to mitigate #2970700 and #2970457 (this one was missed in an earlier commit)<commit_after><%@ include file="/common/taglibs.jsp"%>
<c:set var="counter" value="${analysisStepCounter}"/>
<form 
	method="post" 
	onsubmit="return TreeBASE.analysisEditor.checkValue(this,${counter},'${publicationState}')" 
	id="form${counter}" 
	action="/treebase-web/user/analysisStepForm.html?id=<c:out value="${analysisStepCommand.id}"/>">
<input type="hidden" name="redirect" value="${redirect}"/>
<fieldset class="analysisStep">
	<legend>
		<a onclick="TreeBASE.collapseExpand('analysisStepCommand<c:out value="${analysisStepCommand.id}"/>','block',this)"
			style="border:none"
			title="collapse">
			<c:if test="${editable}">
				<img 
					class="iconButton" 
					src="<fmt:message key="icons.collapse"/>"
					style="vertical-align:middle" 
					alt="collapse" />
			</c:if>
			<c:if test="${!editable}">
				<img 
					class="iconButton" 
					src="<fmt:message key="icons.expand"/>"
					style="vertical-align:middle" 
					alt="collapse" />
			</c:if>			
		</a>	
		Analysis step
		<c:if test="${editable}">
			<a 
				href="#" 
				class="openHelp" 
				onclick="openHelp('analysisStepDetailsViewEdit')">
				<img class="iconButton" alt="help" src="<fmt:message key="icons.help"/>" />
			</a>	
		</c:if>
	</legend>	
	<h2 style="font-size:small">
		<span class="isAnalysisStepValid" title="${analysisStepCommand.id}" style="display:none">
			<img 
				class="iconButton" 
				src="<fmt:message key="icons.notanalyzed"/>" 
				title="<fmt:message key="analysis.notvalidated"/>" 
				alt="<fmt:message key="analysis.notvalidated"/>"/>			
		</span>
<!-- VG 2010-03-17 Disabled analysis download as requested in #2972107, to mitigate #2970700 and #2970457   -->		
<!-- 		<a href="/treebase-web/search/downloadAnAnalysisStep.html?analysisid=${analysisStepCommand.id}&id=${analysisStepCommand.analysis.study.id}">  -->
			<img 
				class="iconButton" 
				src="<fmt:message key="icons.download.reconstructed"/>" 
				title="<fmt:message key="download.reconstructedfile"/>" 
				alt="<fmt:message key="download.reconstructedfile"/>"/>	
<!-- 		</a>	  -->	
		<c:if test="${not empty analysisStepCommand.displayName}">
			<c:out value="${analysisStepCommand.displayName}"/>
		</c:if>	
		<c:if test="${empty analysisStepCommand.displayName}">
			<em>Untitled</em>
		</c:if>			
	</h2>
	<div <c:if test="${!editable}">style="display:none"</c:if> id="analysisStepCommand<c:out value="${analysisStepCommand.id}"/>">
{'fraction_non_alphanumeric': 0.2043388429752066, 'fraction_numerical': 0.01115702479338843, 'mean_word_length': 4.8607748184019375, 'pattern_counts': {'":': 0, '<': 106, '<?xml version=': 0, '>': 106, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5104344', 'n_tokens_mistral': 1931, 'n_tokens_neox': 1643, 'n_words': 240}