854ccd1e70e59625464ba58d45d5818bbb1e46db max Fri Jun 6 08:48:47 2025 -0700 error msg diff --git src/cbPyLib/cellbrowser/cellbrowser.py src/cbPyLib/cellbrowser/cellbrowser.py index 313275b..2959574 100755 --- src/cbPyLib/cellbrowser/cellbrowser.py +++ src/cbPyLib/cellbrowser/cellbrowser.py @@ -3598,30 +3598,31 @@ logging.info("case 2: geneId %s in quickgenes file is not in expression matrix" % repr(geneStr)) continue # case 3: matrix has geneIds and user provides a geneId. add the symbol from our mapping # that's data inference, but that should be OK elif geneOrSym in matrixGeneIds: geneId = geneOrSym if not geneToSym: logging.info("quick gene %s has a geneId but we have no geneId/symbol table. You can use " "the format geneId|symbol in the quick genes file to manually assign a label" % repr(geneId)) geneStr = geneId else: if geneId in geneToSym: geneStr = geneId+"|"+geneToSym[geneId] else: + logging.info("GeneId %s from marker file was not found in gene symbol table." % geneId) geneStr = geneId # case 4: matrix has geneIds and user provides geneId or symbol. Store both. elif geneToSym: # if we have a gene symbol mapping, we can resolve the symbols to geneIds # one can provide either geneIDs or symbols in the quick genes file if geneOrSym in geneToSym: geneId = geneOrSym sym = geneToSym[geneId] elif geneOrSym in symToGene: sym = geneOrSym geneId = symToGene[sym] else: errAbort("Gene %s in quickgenes file is neither a symbol nor a geneId" % repr(geneOrSym)) if sym in nonUniqueSyms: