<commit_before><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<!-- dataSourceShort.jsp -->
<html:xhtml/>
<html:link href="${object.url}">
  <html:img src="model/${object.name}_logo_small.png"/>
</html:link>
<!-- /dataSourceShort.jsp --><commit_msg>Fixed dataSourceShort.jsp - was failing in the object details page.<commit_after><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<!-- dataSourceShort.jsp -->
<html:xhtml/>
<c:set var="interMineObject" value="${object}"/>
<c:if test="${object.class.name == 'org.intermine.web.results.DisplayObject'}">
  <c:set var="interMineObject" value="${object.object}"/>
</c:if>

<html:link href="${interMineObject.url}">
  <html:img src="model/${interMineObject.name}_logo_small.png"/>
</html:link>
<!-- /dataSourceShort.jsp -->
{'fraction_non_alphanumeric': 0.2409356725146199, 'fraction_numerical': 0.0, 'mean_word_length': 5.43609022556391, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, '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': '5522217', 'n_tokens_mistral': 315, 'n_tokens_neox': 308, 'n_words': 45}