This single change now shows only organisms with expression data in the heatmap query form at /tripal_expression, using only organisms present in the expression_feature table.
As an aside, this form SELECT DISTINCT O.* FROM expression_feature EF LEFT JOIN organism O on EF.organism_id=O.organism_id; was noticeably slower, so I used a subquery.
This single change now shows only organisms with expression data in the heatmap query form at
/tripal_expression
, using only organisms present in theexpression_feature
table.As an aside, this form
SELECT DISTINCT O.* FROM expression_feature EF LEFT JOIN organism O on EF.organism_id=O.organism_id;
was noticeably slower, so I used a subquery.