From 643ddb442059a0b6dd1e58cbb99f93e117cbaf70 Mon Sep 17 00:00:00 2001 From: Bindu Gajria Date: Mon, 27 Jul 2026 11:35:14 -0400 Subject: [PATCH 1/3] exclude usercomments_userdb_betan.mappedComment and so not have communityCount in OrgAbbrev table - this commit is ONLY for the dnaseq-merge-experiments branch, and is being tuning for tuning. --- Model/lib/xml/tuningManager/apiTuningManager.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Model/lib/xml/tuningManager/apiTuningManager.xml b/Model/lib/xml/tuningManager/apiTuningManager.xml index 770d9fde9..52c0d7c5e 100644 --- a/Model/lib/xml/tuningManager/apiTuningManager.xml +++ b/Model/lib/xml/tuningManager/apiTuningManager.xml @@ -1318,7 +1318,7 @@ - + @@ -1396,7 +1396,7 @@ ]]> - + Date: Wed, 29 Jul 2026 21:20:56 -0400 Subject: [PATCH 2/3] Move communitycount and community_flag to their own attribute query Fix the CommunityCounts join, use @REMOTE_COMMENT_SCHEMA@, and scope comment counts per project. Co-Authored-By: Claude Opus 5 (1M context) --- .../records/organismAttributeQueries.xml | 33 ++++++++++++++++--- .../lib/wdk/model/records/organismRecords.xml | 23 ++++++------- 2 files changed, 41 insertions(+), 15 deletions(-) diff --git a/Model/lib/wdk/model/records/organismAttributeQueries.xml b/Model/lib/wdk/model/records/organismAttributeQueries.xml index 31da7de60..4087ae506 100644 --- a/Model/lib/wdk/model/records/organismAttributeQueries.xml +++ b/Model/lib/wdk/model/records/organismAttributeQueries.xml @@ -101,7 +101,6 @@ - @@ -113,7 +112,6 @@ - @@ -158,7 +156,6 @@ nullif(oa.gocount,0) as gocount, nullif(oa.tfbscount,0) as tfbscount, nullif(oa.proteomicscount,0) as proteomicscount, - nullif(oa.communitycount,0) as communitycount, CASE oa.isOrganellar WHEN 0 THEN 'no' ELSE 'yes' END as isOrganellar_flag, CASE oa.arraygenecount WHEN 0 THEN 'none' ELSE 'yes' END as array_flag, CASE oa.chipchipgenecount WHEN 0 THEN 'none' ELSE 'yes' END as chipchip_flag, @@ -168,7 +165,6 @@ CASE oa.ecnumbercount WHEN 0 THEN 'none' ELSE 'yes' END as ec_flag, CASE oa.gocount WHEN 0 THEN 'none' ELSE 'yes' END as go_flag, CASE oa.rtpcrcount WHEN 0 THEN 'none' ELSE 'yes' END as rtpcr_flag, - CASE oa.communitycount WHEN 0 THEN 'none' ELSE 'yes' END as community_flag, CASE oa.tfbscount WHEN 0 THEN 'none' ELSE 'yes' END as tfbs_flag, CASE oa.hasHTSIsolate WHEN 0 THEN 'none' ELSE 'yes' END as hasHTSIsolate_flag, --CASE oa.hasPopset WHEN 0 THEN 'none' ELSE 'yes' END as hasPopset_flag, @@ -241,6 +237,35 @@ + + + + + + + + + + + + diff --git a/Model/lib/wdk/model/records/organismRecords.xml b/Model/lib/wdk/model/records/organismRecords.xml index a1bb762fd..349f27568 100644 --- a/Model/lib/wdk/model/records/organismRecords.xml +++ b/Model/lib/wdk/model/records/organismRecords.xml @@ -180,8 +180,6 @@ help="Number of genes that have evidence of protein expression based on Mass Spectrometry studies" align="right"/> - @@ -302,15 +300,6 @@ - - - - - ]]> - - - @@ -434,6 +423,18 @@ help ="VectorBase genomes initial annotation source (version 1.0) is either from NCBI RefSeq or from the genome authors own pipeline. Subsequent annotations are provided by VectorBase, either by the community (currently via Apollo) or by the EBI pipeline (via predictions and alignments to external databases)." /> + + + + + + + ]]> + + + Date: Wed, 29 Jul 2026 21:40:37 -0400 Subject: [PATCH 3/3] Remove dead CommunityCount tuning code Superseded by the CommunityCounts attribute query. Co-Authored-By: Claude Opus 5 (1M context) --- .../lib/xml/tuningManager/apiTuningManager.xml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Model/lib/xml/tuningManager/apiTuningManager.xml b/Model/lib/xml/tuningManager/apiTuningManager.xml index 52c0d7c5e..5f5fd2618 100644 --- a/Model/lib/xml/tuningManager/apiTuningManager.xml +++ b/Model/lib/xml/tuningManager/apiTuningManager.xml @@ -1318,7 +1318,6 @@ - @@ -1396,21 +1395,6 @@ ]]> -