Skip to content

Commit

Permalink
Add useCustomDataFetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
puehringer committed Sep 5, 2023
1 parent 95a4e14 commit 42a538b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/compiler/gosling-to-higlass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ export function goslingToHiGlass(
firstResolvedSpec.data.type === 'bam' ||
firstResolvedSpec.data.type === 'vcf' ||
firstResolvedSpec.data.type === 'gff' ||
firstResolvedSpec.data.type === 'bed')
firstResolvedSpec.data.type === 'bed' ||
// TODO: This is a hack to enable custom data fetchers
(firstResolvedSpec.data as any).useCustomDataFetcher)
) {
const getFieldName = (c: 'x' | 'xe' | 'x1' | 'x1e') => {
const cDef = firstResolvedSpec[c];
Expand Down

0 comments on commit 42a538b

Please sign in to comment.