Skip to content
Snippets Groups Projects

Merge upstream

Merged Loraine Gueguen requested to merge dev into master
Compare and Show latest version
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -159,7 +159,8 @@ function abims_get_analyses_from_chado() {
// Fix feature_counts for structural annots
$csql = "SELECT a.analysis_id, count(af.feature_id) as feature_count FROM {analysis} a LEFT JOIN {analysisfeature} af ON a.analysis_id = af.analysis_id LEFT JOIN {feature} f ON af.feature_id = f.feature_id WHERE f.type_id=:term GROUP BY a.analysis_id ORDER BY a.name";
$counts = chado_query($csql, array(':term' => $mRNA_term));
$counts = chado_query($csql, array(':term' => $gene_term));
print_r($counts)
if (count($counts) == 0) {
$counts = chado_query($csql, array(':term' => $mRNA_term));
}
Loading