-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Description:
Currently, we don't return results for some possible IPR databases, such as TIGRFAM. However, users are able to toggle this column on for results because it isn't clear why it wouldn't ever return results.
Proposed solution:
Make the available columns that can be toggled on (or off) in results tables similar to the handling for figures, where the option to visualize subsets of results only appear if those results actually exist. Put another way, if the column for SUPERFAMILY results is empty in the internal MolEvolvR results, don't present SUPERFAMILY as an option for tabular visualization.
Alternatives:
In the short term, we could simply comment out the parts of the table visualization code that aren't actually searched on the backend. In the future though, a dynamic method of presenting available columns is probably best.
For graphical visualization, we only allow users to toggle on data that actually exists!
For tabular data, Add/remove column(s) provides all possible columns even if they're empty.
This can yield some real boring tables if people pick particularly poorly.
