4801840ccde60df9698ce24f249392afac8fc55d braney Thu Mar 24 13:23:07 2022 -0700 fix problem getting table dumps from hgTables on custom tracks on assembly hubs diff --git src/hg/lib/joiner.c src/hg/lib/joiner.c index 21d0e30..d1915d5 100644 --- src/hg/lib/joiner.c +++ src/hg/lib/joiner.c @@ -975,30 +975,32 @@ static void notTriple(char *s) /* Complain that s is not in dotted triple format. */ { errAbort("%s not a dotted triple", s); } struct joinerDtf *joinerDtfFromDottedTriple(char *triple) /* Get joinerDtf from something in db.table.field format. */ { char *s, *e; struct joinerDtf *dtf; AllocVar(dtf); s = triple; e = strstr(s, ".hub_"); if (e == NULL) + e = strstr(s, ".ct_"); +if (e == NULL) e = strchr(s, '.'); if (e == NULL) notTriple(triple); dtf->database = cloneStringZ(s, e-s); s = e+1; e = strrchr(s, '.'); if (e == NULL) notTriple(triple); dtf->table = cloneStringZ(s, e-s); dtf->field = cloneString(e+1); return dtf; } boolean joinerDtfSame(struct joinerDtf *dtfA, struct joinerDtf *dtfB) /* Return TRUE if both are NULL or if both have same db, table and field. */