File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/main/java/org/jax/mgi/mgd/api/model/voc/service Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -742,13 +742,20 @@ public void addAnnotCount(TermDomain term) {
742742 @ Transactional
743743 // Returns the number of direct gxdhtsamples to the given term.
744744 // The vocabKey indicates which kind of term it is:
745- // 90=EMAPA, 91=EMAPS
745+ // 102=cell type, 90=EMAPA, 91=EMAPS
746746 // If vocabKey is not one of these, no action is taken.
747747 public void addGXDHTSampleCount (TermDomain term ) {
748748 String termKey = term .getTermKey ();
749749 String vocabKey = term .getVocabKey ();
750750 String cmd ;
751751 switch (vocabKey ) {
752+ case "102" :
753+ // CellType
754+ cmd = "\n select count(*) as sampleCt" +
755+ "\n from gxd_htsample" +
756+ "\n where _celltype_term_key = " + termKey
757+ ;
758+ break ;
752759 case "90" :
753760 // EMAPA
754761 cmd = "\n select count(*) as sampleCt" +
You can’t perform that action at this time.
0 commit comments