<commit_before><%inherit file="project/addon/node_settings.mako" />

<div>
    % if connected:

        % if authorized:
            <div style="padding-bottom: 10px">

                % if len(dataverses) != 0:

                <select id="dataverseDropDown" >
                    % for i, dv in enumerate(dataverses):
                        % if i == int(dataverse_number):
                            <option value=${i} selected>${dv}</option>
                        % else:
                            <option value=${i}>${dv}</option>
                        % endif
                    % endfor
                </select>

                <select id="studyDropDown">

                    <option value="None">---</option>

                    % if len(dataverses) > 0:
                        % for i, hdl in enumerate(studies):
                            % if hdl == study_hdl:
                                <option value=${hdl} selected>${study_names[i]}</option>
                            % else:
                                <option value=${hdl}>${study_names[i]}</option>
                            % endif
                        % endfor
                    % endif

                </select>

                % else:
                    This Dataverse account does not yet have a Dataverse.
                % endif

            </div>

        % endif<commit_msg>Layout changes to dataverse node settings page.<commit_after><%inherit file="project/addon/node_settings.mako" />

<div>
    % if connected:

        % if authorized:
            <div style="padding-bottom: 10px">

                % if len(dataverses) != 0:
                    Dataverse:
                    <select id="dataverseDropDown" class="form-control">
                        % for i, dv in enumerate(dataverses):
                            % if i == int(dataverse_number):
                                <option value=${i} selected>${dv}</option>
                            % else:
                                <option value=${i}>${dv}</option>
                            % endif
                        % endfor
                    </select>

                    <br>

                    Study:
                    <select id="studyDropDown" class="form-control">
                        <option value="None">---</option>
                        % if len(dataverses) > 0:
                            % for i, hdl in enumerate(studies):
                                % if hdl == study_hdl:
                                    <option value=${hdl} selected>${study_names[i]}</option>
                                % else:
                                    <option value=${hdl}>${study_names[i]}</option>
                                % endif
                            % endfor
                        % endif
                    </select>

                % else:
                    This Dataverse account does not yet have a Dataverse.
                % endif

            </div>

        % endif
{'fraction_non_alphanumeric': 0.10587454364420842, 'fraction_numerical': 0.002655160969133754, 'mean_word_length': 0.8872886662492173, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 42, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1693065', 'n_tokens_mistral': 760, 'n_tokens_neox': 671, 'n_words': 150}