geneontology / wc-ribbon

This repository contains a collection of web components, initially centered on the GO ribbon, a UI tool to visualize a summary of annotations for gene and gene sets.
http://geneontology.org/ribbon.html
2 stars 1 forks source link

Ribbon strips: N/A cell #14

Closed lpalbou closed 4 years ago

lpalbou commented 4 years ago

Some cells can not have annotations (eg through taxon constraints). The data model accepts a tag "available" to describe whether or not the given cell can accept such data.

"subjects": [
  {"id": "MGI:98214",
    "groups": 
      {"GO:0003674": {"ALL": {"nb_classes": 28, "nb_annotations": 52}, "available": false },

Action item: use that field to display a diagonal bar to show users this cell is different; on hover, explain that cell can not have data

lpalbou commented 4 years ago

Fix: https://github.com/geneontology/wc-ribbon/commit/613296b981adcd10bfdb908c97d6dd50d9b3aa7f