6a354f679c0fd5ed0ab5b4feae6d400691ad28e2 hiram Thu Feb 6 12:10:28 2025 -0800 this is crazy upside down logic . . . refs #34706 diff --git src/hg/lib/hdb.c src/hg/lib/hdb.c index 3b7157aa130..88e51540fe2 100644 --- src/hg/lib/hdb.c +++ src/hg/lib/hdb.c @@ -5991,25 +5991,26 @@ if (knownDb == NULL) knownDb = cloneString(db); checkedDb = cloneString(db); return knownDb; } boolean isCuratedHubUrl(char *hubUrl) /* check if the given hubUrl is pointing to a curated hub */ { boolean isCurated = TRUE; if (isEmpty(hubUrl)) - return isCurated; + return isCurated; // this is not a hub, it is a database assembly -if (startsWith("/gbdb", hubUrl)) +isCurated = FALSE; // only 1 hub is curated: /gbdb/hs1 +if (startsWith("/gbdb", hubUrl)) // might be /gbdb/hs1 { - if (startsWith("/gbdb/genark", hubUrl)) - isCurated = FALSE; + if (! startsWith("/gbdb/genark", hubUrl)) // genark hubs == not curated + isCurated = TRUE; } return isCurated; }