<commit_before><template>
  <div class="toolbar">
    <span class="button_holder">
      <button-with-marionette-dialog
        icon="fa fa-book"
        button-text="Add to Project"
        dialog-title="Add to project"
        hint="Add to project"
        :m-view="addToProjectView"
        :m-view-options="addToProjectOptions"
      />

      <toolbar-button
        hint="Click to add this data collection to the list of favourite data collections"
        icon="fa fa-star-o"
        button-text="Favourite"
        :level="favouriteButtonLevel"
        @click="favourite"
      />

      <toolbar-button
        hint="Permalink"
        icon="fa fa-link"
        button-text="Permalink"
        @click="permalink"
      />

      <button-with-marionette-dialog
        icon="fa fa-comments"
        :button-label="commentsCount"
        :button-text="commentsLabel"
        dialog-title="Comments"
        hint="Comments"
        :m-view="commentsView"
        :m-view-options="commentsOptions"
        @open="commentsOpen"
        @confirm="commentsChange"
        @cancel="commentsChange"
      />

      <button-with-marionette-dialog
        icon="fa fa-file"
        :button-label="attachmentsCount"
        :button-text="attachmentsLabel"
        dialog-title="Attachments"
        hint="Attachments"
        :m-view="attachmentsView"
        :m-view-options="attachmentsOptions"
      />

      <reprocess-button
        :processing-disallowed-reason="processingDisallowedReason"
      />
    </span>

    <!-- if you're using this outside EM you will need to check if
         the current page is a collection or a visit here -->
    <span class="date">
      [<a :href="'/dc/visit/' + visit">{{ visit }}</a>]
      {{ dataCollection.startTime }}
    </span>

    <span class="displayPath">
      <flat-button @click="displayPathFull = !displayPathFull">
        <i :class="displayPathClass" />
      </flat-button>
      <span class="temp">{{ displayPath }}</span>
    </span><commit_msg>blank default parameters for top-level Relion button<commit_after><template>
  <div class="toolbar">
    <span class="button_holder">
      <button-with-marionette-dialog
        icon="fa fa-book"
        button-text="Add to Project"
        dialog-title="Add to project"
        hint="Add to project"
        :m-view="addToProjectView"
        :m-view-options="addToProjectOptions"
      />

      <toolbar-button
        hint="Click to add this data collection to the list of favourite data collections"
        icon="fa fa-star-o"
        button-text="Favourite"
        :level="favouriteButtonLevel"
        @click="favourite"
      />

      <toolbar-button
        hint="Permalink"
        icon="fa fa-link"
        button-text="Permalink"
        @click="permalink"
      />

      <button-with-marionette-dialog
        icon="fa fa-comments"
        :button-label="commentsCount"
        :button-text="commentsLabel"
        dialog-title="Comments"
        hint="Comments"
        :m-view="commentsView"
        :m-view-options="commentsOptions"
        @open="commentsOpen"
        @confirm="commentsChange"
        @cancel="commentsChange"
      />

      <button-with-marionette-dialog
        icon="fa fa-file"
        :button-label="attachmentsCount"
        :button-text="attachmentsLabel"
        dialog-title="Attachments"
        hint="Attachments"
        :m-view="attachmentsView"
        :m-view-options="attachmentsOptions"
      />

      <reprocess-button
        :processing-disallowed-reason="processingDisallowedReason"
        :default-parameters="null"
      />
    </span>

    <!-- if you're using this outside EM you will need to check if
         the current page is a collection or a visit here -->
    <span class="date">
      [<a :href="'/dc/visit/' + visit">{{ visit }}</a>]
      {{ dataCollection.startTime }}
    </span>

    <span class="displayPath">
      <flat-button @click="displayPathFull = !displayPathFull">
        <i :class="displayPathClass" />
      </flat-button>
      <span class="temp">{{ displayPath }}</span>
    </span>
{'fraction_non_alphanumeric': 0.13516160626836435, 'fraction_numerical': 0.0, 'mean_word_length': 2.321138211382114, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '924715', 'n_tokens_mistral': 1208, 'n_tokens_neox': 1177, 'n_words': 230}