<commit_before><%@ page import="org.mskcc.portal.servlet.QueryBuilder" %>
<%@ page import="static org.mskcc.portal.servlet.QueryBuilder.DATA_PRIORITY" %>
<%
    String step2ErrorMsg = (String) request.getAttribute(QueryBuilder.STEP2_ERROR_MSG);
%>

<div class="query_step_section" id="step2">
    <span class="step_header">Select Genomic Profiles:</span>

<%
if (step2ErrorMsg != null) {
    out.println("<div class='ui-state-error ui-corner-all' style='margin-top:4px; padding:5px;'>"
            + "<span class='ui-icon ui-icon-alert' style='float: left; margin-right: .3em;'></span>"
            + "<strong>" + step2ErrorMsg + "</strong>");
}
%>

<div id='genomic_profiles'>
</div>

<%
if (step2ErrorMsg != null) {
    out.println ("</div>");
}
%>

</div>


<%
    Integer priority = (Integer) request.getAttribute(DATA_PRIORITY);
    String checked[] = {"", "", ""};
    if(priority == null)
        priority = 0;

    checked[priority] = " checked";
%>

<div class="query_step_section" id="step2cross">
    <span class="step_header">Select Data Type Priority:</span>
    <input type="radio" name="<%= DATA_PRIORITY %>" id="pri_mutcna" value=0<%=checked[0]%>>
    <label for="pri_mutcna">Mutation and CNA</label>

    <input type="radio" name="<%= DATA_PRIORITY %>" id="pri_mut" value=1<%=checked[1]%>>
    <label for="pri_mut">Only Mutation</label>

    <input type="radio" name="<%= DATA_PRIORITY %>" id="pri_cna" value=2<%=checked[2]%>>
    <label for="pri_cna">Only CNA</label>
</div>

<commit_msg>trying a different approach for getting the previous option.<commit_after><%@ page import="org.mskcc.portal.servlet.QueryBuilder" %>
<%@ page import="static org.mskcc.portal.servlet.QueryBuilder.DATA_PRIORITY" %>
<%
    String step2ErrorMsg = (String) request.getAttribute(QueryBuilder.STEP2_ERROR_MSG);
%>

<div class="query_step_section" id="step2">
    <span class="step_header">Select Genomic Profiles:</span>

<%
if (step2ErrorMsg != null) {
    out.println("<div class='ui-state-error ui-corner-all' style='margin-top:4px; padding:5px;'>"
            + "<span class='ui-icon ui-icon-alert' style='float: left; margin-right: .3em;'></span>"
            + "<strong>" + step2ErrorMsg + "</strong>");
}
%>

<div id='genomic_profiles'>
</div>

<%
if (step2ErrorMsg != null) {
    out.println ("</div>");
}
%>

</div>


<%
    Integer priority;
    try {
        priority = Integer.parseInt(request.getParameter(DATA_PRIORITY));
    } catch (NumberFormatException e) {
        priority = 0;
    }

    String checked[] = {"", "", ""};
    if(priority == null)
        priority = 0;

    checked[priority] = " checked";
%>

<div class="query_step_section" id="step2cross">
    <span class="step_header">Select Data Type Priority:</span>
    <input type="radio" name="<%= DATA_PRIORITY %>" id="pri_mutcna" value=0<%=checked[0]%>>
    <label for="pri_mutcna">Mutation and CNA</label>

    <input type="radio" name="<%= DATA_PRIORITY %>" id="pri_mut" value=1<%=checked[1]%>>
    <label for="pri_mut">Only Mutation</label>

    <input type="radio" name="<%= DATA_PRIORITY %>" id="pri_cna" value=2<%=checked[2]%>>
    <label for="pri_cna">Only CNA</label>
</div>


{'fraction_non_alphanumeric': 0.1981668773704172, 'fraction_numerical': 0.011061946902654867, 'mean_word_length': 4.428816466552315, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '3614022', 'n_tokens_mistral': 1172, 'n_tokens_neox': 1124, 'n_words': 200}