You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In packages/jbrowse-plugin-apollo/src/LinearApolloDisplay/stateModel/getGlyph.ts, instead of checking feature.type === 'gene', use the ontology store to check for types that are equivalent to 'gene' (such as 'protein_coding_gene').
We'll have to pass either the session or the ontology store from the session to getGlyph. See packages/jbrowse-plugin-apollo/src/components/OntologyTermAutocomplete.tsx for an example of how to get the ontology store from the session.
I think the ontology store method we'll want to use for this check is getTermsWithLabelOrSynonym.
The text was updated successfully, but these errors were encountered:
In
packages/jbrowse-plugin-apollo/src/LinearApolloDisplay/stateModel/getGlyph.ts
, instead of checkingfeature.type === 'gene'
, use the ontology store to check for types that are equivalent to 'gene' (such as 'protein_coding_gene').We'll have to pass either the session or the ontology store from the session to
getGlyph
. Seepackages/jbrowse-plugin-apollo/src/components/OntologyTermAutocomplete.tsx
for an example of how to get the ontology store from the session.I think the ontology store method we'll want to use for this check is
getTermsWithLabelOrSynonym
.The text was updated successfully, but these errors were encountered: