0781f49ccdacd52dd75b0f12dab183e4b4cd25fc hiram Tue Mar 21 15:04:48 2023 -0700 extend the chromAlias function to the getSequence operation refs #30544 diff --git src/hg/hubApi/dataApi.h src/hg/hubApi/dataApi.h index 32ec4c0..2df6d40 100644 --- src/hg/hubApi/dataApi.h +++ src/hg/hubApi/dataApi.h @@ -222,30 +222,33 @@ * TRUE when has data, FALSE if has no data * When NO trackDb, can't tell at this point, will check that later */ #define trackHasNoData(tdb) (!trackHasData(tdb)) boolean protectedTrack(char *db, struct trackDb *tdb, char *trackName); /* determine if track is off-limits protected data */ boolean isWiggleDataTable(char *type); /* is this a wiggle data track table */ char *chrOrAlias(char *db, char *hubUrl); /* get incoming chr name, may be an alias, return the native chr name */ +void hubAliasSetup(struct trackHubGenome *hubGenome); +/* see if this hub has an alias file and run chromAliasSetupBb() for it */ + /* ######################################################################### */ /* functions in getData.c */ void apiGetData(char *words[MAX_PATH_INFO]); /* 'getData' function, words[1] is the subCommand */ /* ######################################################################### */ /* functions in list.c */ void apiList(char *words[MAX_PATH_INFO]); /* 'list' function words[1] is the subCommand */ /* ######################################################################### */ /* functions in search.c */