SuLab / WikiGenomesBase

A configurable codebase for launching organism specific WikiGenomes spinoff applications (e.g. ChlamBase.org) This is a web application framework for creating a model organism database leveraging the taxonomic, genetic and functional data that has been loaded to Wikidata.org by the Gene Wiki Project.
https://chlambase.org/
MIT License
7 stars 4 forks source link

in localization visualizer, filter out IEA annotations #217

Open andrewsu opened 5 years ago

andrewsu commented 5 years ago

after discussions with @khybiske, we decided it would be better to restrict the coloring of the Localization Visualizer to non-IEA annotations only. Unfortunately, even if we remove these (incorrect) annotations in Wikidata, our bots will recreate them because we synchronize with the source databases.

djow2019 commented 5 years ago

Put these lines inside an if statement: https://github.com/SuLab/WikiGenomesBase/blob/master/wiki/static/wiki/js/app/main-page/gene-overview/cell-visualizer-view/cell-visualizer-view.component.js#L21-L22. The "value" parameter is the data returned from the query here: https://github.com/SuLab/WikiGenomesBase/blob/master/wiki/static/wiki/js/app/resources/resources.service.js#L493. It should be: if (value.determinationLabel.value != "IEA") {...} else {ctrl.pending--;}