Skip to content

Commit

Permalink
feat: use api/mehari rather than api/dotty in store/geneInfo (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Feb 9, 2024
1 parent 3e039da commit cd32814
Show file tree
Hide file tree
Showing 5 changed files with 1,028 additions and 5,334 deletions.
2 changes: 1 addition & 1 deletion src/api/mehari/client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import path from 'path'
import { beforeEach, describe, expect, it, vi } from 'vitest'
import createFetchMock from 'vitest-fetch-mock'

import { GenomeBuild } from '@/pbs/mehari/txs'
import { GenomeBuild } from '../../pbs/mehari/txs'

import { SeqvarImpl } from '../../lib/genomicVars'
import { LinearStrucvarImpl } from '../../lib/genomicVars'
Expand Down
2 changes: 1 addition & 1 deletion src/api/mehari/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class MehariClient {
): Promise<GeneTranscriptsResponse> {
const urlGenomeBuild = GenomeBuild[genomeBuild]
const url =
`${this.apiBaseUrl}/transcripts?hgncId=${hgncId}&` +
`${this.apiBaseUrl}/genes/txs?hgncId=${hgncId}&` +
`genomeBuild=${urlGenomeBuild}&pageSize=${pageSize}` +
(nextPageToken ? `&next_page_token=${nextPageToken}` : '')

Expand Down
Loading

0 comments on commit cd32814

Please sign in to comment.