8d662255bea829d680d17220a0b049f5f9c02f16 hiram Fri Aug 21 22:32:26 2026 -0700 finalize asmAlias selection issue - if a given GenArk assembly is requested and it exists then use it, otherwise look for an alias refs #38082 diff --git src/hg/inc/asmAlias.h src/hg/inc/asmAlias.h index e65706b0dd7..aaa9d2df09c 100644 --- src/hg/inc/asmAlias.h +++ src/hg/inc/asmAlias.h @@ -66,17 +66,23 @@ void asmAliasOutput(struct asmAlias *el, FILE *f, char sep, char lastSep); /* Print out asmAlias. Separate fields with sep. Follow last field with lastSep. */ #define asmAliasTabOut(el,f) asmAliasOutput(el,f,'\t','\n'); /* Print out asmAlias as a line in a tab-separated file. */ #define asmAliasCommaOut(el,f) asmAliasOutput(el,f,',',','); /* Print out asmAlias as a comma separated list including final comma. */ /* -------------------------------- End autoSql Generated Code -------------------------------- */ char *asmAliasFind(char *alias); /* If this assembly is an alias for a db we know about, return it. Otherwise return what we were sent. */ +char *asmAliasFindUnlessGenArk(char *alias); +/* Like asmAliasFind(), but only translate through the asmAlias table if + * alias isn't already a real, existing GenArk hub -- an accession that + * resolves on its own should never be promoted to a merely "equivalent" + * alias. */ + #endif /* ASMALIAS_H */