624acd88b4ea5f265652ad6703c756997ed67e0b
max
  Tue Jun 17 16:11:57 2025 -0700
not allowing two dots anymore, always split on the first dot. If sequences include dots, must use pipe character now, no redmine yet

diff --git src/hg/makeDb/hgLoadMaf/hgLoadMafSummary.c src/hg/makeDb/hgLoadMaf/hgLoadMafSummary.c
index 4f0d6c76970..8f31bd9e10c 100644
--- src/hg/makeDb/hgLoadMaf/hgLoadMafSummary.c
+++ src/hg/makeDb/hgLoadMaf/hgLoadMafSummary.c
@@ -125,41 +125,31 @@
 {
 char *pipe = strchr(src, '|');
 // pipe found? It's the new format, db|chrom
 if (pipe) {
     *pipe = '\0';
     return pipe+1;
     }
 
 char *dot1 = strchr(src, '.');
 if (!dot1)
     return src;  // if there are no dots, assume the name is the chrom
 else
     {
     // the most common format: db.chrom
     char* chrom = dot1 + 1;
-    // look to see if maybe the db part has a dot in it
-    char *dot2 = strchr(chrom, '.'); // look for the next dot
-
-    if (!dot2)
     *dot1 = '\0';
-    else
-        {
-        *dot2 = '\0';
-        chrom = dot2 + 1;
-        }
-
     return chrom;
     }
 }
 
 long processMaf(struct mafAli *maf, struct hash *componentHash, 
                 FILE *f, struct mafFile *mf, char *fileName)
 /* Compute scores for each pairwise component in the maf and output to .tab file */
 {
 struct mafComp *mc = NULL, *nextMc = NULL;
 struct mafSummary *ms, *msPending;
 struct mafAli pairMaf;
 long componentCount = 0;
 struct mafComp *mcMaster = mafMaster(maf, mf, fileName);
 struct mafComp *oldMasterNext = mcMaster->next; 
 char *chrom;