Skip to content

Commit

Permalink
fix: Change hgvs.t and hgvs.p and fix pubator comments (#176) (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon authored Mar 27, 2024
1 parent a67e225 commit 6ece409
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/GeneLiteratureCard/GeneLiteratureCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ watch(
Literature
<DocsLink anchor="literature" />
</v-card-title>
<v-card-subtitle class="text-overline"> Top 10 from PubTator 3 </v-card-subtitle>
<v-card-subtitle class="text-overline"> Top results from PubTator 3 </v-card-subtitle>
<v-card-text class="pt-3">
<v-alert v-if="errorMessage" type="error" dismissible>
{{ errorMessage }}
Expand Down Expand Up @@ -443,7 +443,7 @@ watch(
:append-icon="showAllResults ? 'mdi-chevron-up' : 'mdi-chevron-down'"
@click="showAllResults = !showAllResults"
>
{{ showAllResults ? 'Hide' : 'Show' }} all results
{{ showAllResults ? 'Show less' : 'Show more' }}
</v-btn>
<v-btn
:href="`https://www.ncbi.nlm.nih.gov/research/pubtator3/docsum?text=@GENE_${geneInfo?.hgnc?.symbol}`"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ describe.concurrent('SeqvarConsequencesCard.vue', async () => {
expect(headers[0].text()).toBe('Gene')
expect(headers[1].text()).toBe('Transcript')
expect(headers[2].text()).toBe('Consequence')
expect(headers[3].text()).toBe('HGVS.p')
expect(headers[4].text()).toBe('HGVS.t')
expect(headers[3].text()).toBe('HGVS.t')
expect(headers[4].text()).toBe('HGVS.p')
expect(headers[5].text()).toBe('Exon/Intron')
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ const props = withDefaults(
<th>Gene</th>
<th>Transcript</th>
<th>Consequence</th>
<th>HGVS.p</th>
<th>HGVS.t</th>
<th>HGVS.p</th>
<th>Exon/Intron</th>
</tr>
</thead>
Expand Down

0 comments on commit 6ece409

Please sign in to comment.