-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restart implementing the use of ontology to replace hard-coded types
Started by adding isTypeOf function in `packages/jbrowse-plugin-apollo/src/OntologyManager/index.ts` Then in `GeneGlyph.ts` use `isTypeOf(mrna.type, 'mRNA')` in `draw()`. Edit downstream as required by making draw async. A quick check seems ok. Then again in `GeneGlyph.ts` use `isTypeOf(feature.type, 'gene')` in `featuresForRow`. This required several edits elsewhere. A gene of type `protein_coding_gene` is correctly displayed, but the check question marks don't move on the screen and there are issues with the table editor.
- Loading branch information
Showing
10 changed files
with
197 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.