<commit_before><template>
  <el-row>
    <el-col>
      <el-collapse id="annot-content" :value="activeSections"
                   @change="onSectionsChange">

        <div class="el-collapse-item grey-bg">
          <div class="el-collapse-item__header av-centered grey-bg">
            <span class="sf-big" v-html="formattedMolFormula"> </span>
            <span class="mz-big">{{ annotation.mz.toFixed(4) }}</span>
          </div>
        </div>

        <el-collapse-item name="images" id="annot-img-collapse" class="av-centered">
          <span slot="title">
            <span style="padding-right: 20px">
              m/z image
            </span>

            <el-popover placement="left" trigger="click">
              <ion-image-settings></ion-image-settings>

              <div slot="reference" @click="$event.stopPropagation()">
                <i class="el-icon-setting" style="font-size: 20px; padding-top: 11px;"></i>
              </div>
            </el-popover>
          </span>

          <div class="main-ion-image-container">
            <image-loader :src="annotation.isotopeImages[0].url"
                          :colormap="colormap"
                          :max-height=500
                          class="ion-image principal-peak-image">
            </image-loader>

            <div class="colorbar-container">
              {{ annotation.isotopeImages[0].maxIntensity.toExponential(2) }}
              <colorbar style="width: 20px; height: 160px; align-self: center;"
                        direction="top" :map="colormap"
                        slot="reference">
              </colorbar>
              {{ annotation.isotopeImages[0].minIntensity.toExponential(2) }}
            </div>
          </div>
        </el-collapse-item>

        <el-collapse-item :title="compoundsTabLabel" name="compounds">
          <div id="compound-list">
            <div class="compound" v-for="compound in annotation.possibleCompounds">
              <el-popover placement="left" trigger="click">
                <img :src="compound.imageURL.replace('192.168.127.12', '172.16.17.32')" class="compound-thumbnail"
                     slot="reference"/>
                <div>
                  <figure>
                    <figcaption>
                      {{ compound.name }}
                      <br/>
                      <a :href="compound.information[0].url" target="_blank">
                        View on {{ compound.information[0].database }} website
                      </a>
                    </figcaption>
                    <img :src="compound.imageURL.replace('192.168.127.12', '172.16.17.32')" class="compound-image"/>
                  </figure>
                </div>
              </el-popover>
              <br/>

              <span v-if="compound.name.length <= 35">
                <a :href="compound.information[0].url" target="_blank">
                  {{ compound.name }}
                </a>
              </span><commit_msg>removed an old hack<commit_after><template>
  <el-row>
    <el-col>
      <el-collapse id="annot-content" :value="activeSections"
                   @change="onSectionsChange">

        <div class="el-collapse-item grey-bg">
          <div class="el-collapse-item__header av-centered grey-bg">
            <span class="sf-big" v-html="formattedMolFormula"> </span>
            <span class="mz-big">{{ annotation.mz.toFixed(4) }}</span>
          </div>
        </div>

        <el-collapse-item name="images" id="annot-img-collapse" class="av-centered">
          <span slot="title">
            <span style="padding-right: 20px">
              m/z image
            </span>

            <el-popover placement="left" trigger="click">
              <ion-image-settings></ion-image-settings>

              <div slot="reference" @click="$event.stopPropagation()">
                <i class="el-icon-setting" style="font-size: 20px; padding-top: 11px;"></i>
              </div>
            </el-popover>
          </span>

          <div class="main-ion-image-container">
            <image-loader :src="annotation.isotopeImages[0].url"
                          :colormap="colormap"
                          :max-height=500
                          class="ion-image principal-peak-image">
            </image-loader>

            <div class="colorbar-container">
              {{ annotation.isotopeImages[0].maxIntensity.toExponential(2) }}
              <colorbar style="width: 20px; height: 160px; align-self: center;"
                        direction="top" :map="colormap"
                        slot="reference">
              </colorbar>
              {{ annotation.isotopeImages[0].minIntensity.toExponential(2) }}
            </div>
          </div>
        </el-collapse-item>

        <el-collapse-item :title="compoundsTabLabel" name="compounds">
          <div id="compound-list">
            <div class="compound" v-for="compound in annotation.possibleCompounds">
              <el-popover placement="left" trigger="click">
                <img :src="compound.imageURL" class="compound-thumbnail"
                     slot="reference"/>
                <div>
                  <figure>
                    <figcaption>
                      {{ compound.name }}
                      <br/>
                      <a :href="compound.information[0].url" target="_blank">
                        View on {{ compound.information[0].database }} website
                      </a>
                    </figcaption>
                    <img :src="compound.imageURL" class="compound-image"/>
                  </figure>
                </div>
              </el-popover>
              <br/>

              <span v-if="compound.name.length <= 35">
                <a :href="compound.information[0].url" target="_blank">
                  {{ compound.name }}
                </a>
              </span>
{'fraction_non_alphanumeric': 0.14819850441876276, 'fraction_numerical': 0.015295717199184228, 'mean_word_length': 1.491532599491956, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 113, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '2249867', 'n_tokens_mistral': 1707, 'n_tokens_neox': 1575, 'n_words': 256}