Skip to content

Commit

Permalink
Test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dariober committed Oct 24, 2024
1 parent 758ce16 commit 3f81fa5
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@ async function draw(

const os = apolloDataStore.ontologyManager.findOntology(
apolloDataStore.ontologyManager.featureTypeOntologyName,
)
if (!(os?.name ?? os?.version ?? os?.source)) {
throw new Error('Ontology not defined')
}
)?.dataStore
await os?.getTermsWithLabelOrSynonym('gene')

const xx = apolloDataStore.ontologyManager.ontologies.at(0)
const g = await xx?.dataStore?.getTermsWithLabelOrSynonym('gene')
console.log(`HERE ${JSON.stringify(g, null, 2)}`)

Check warning on line 78 in packages/jbrowse-plugin-apollo/src/LinearApolloDisplay/glyphs/GeneGlyph.ts

View workflow job for this annotation

GitHub Actions / Lint

Unexpected console statement
Expand Down

0 comments on commit 3f81fa5

Please sign in to comment.