b2b58edce8b1d75567737b05e21ba9103073c69d chmalee Mon May 4 12:11:37 2026 -0700 Fix myVariants tracks to load via a hardcoded query rather than hRangeQuery because the tableName is already qualified with the database. Remove dead code after refactor. Fix table browser output for myVariants tracks for various options, refs #33808 diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h index beb66b30785..2702bc07f3e 100644 --- src/hg/hgTracks/hgTracks.h +++ src/hg/hgTracks/hgTracks.h @@ -1243,34 +1243,30 @@ /* Fill in chromGraph methods for custom track. */ void factorSourceMethods(struct track *track); /* Set up special methods for factorSource type tracks. */ void myVariantsMethods(struct track *track); /* Set up special methods for myVariants type tracks. */ void myVariantsJsCommand(char *command, struct track *trackList, struct hash *trackHash); /* Execute some command sent to us from the javaScript. All we know for sure is that * the first word of the command is "myVariants." We expect it to be of format: * myVariants <trackName> <chrom> <chromStart> <chromEnd> * If it is indeed of this form then we'll create a new myVariants that references this * location and stick it in the named track. */ -struct track *myVariantsTg(); -/* Make track that will ultimately have the data from: - * customData.myVariants_userName table */ - boolean myVariantsTrackEnabled(); /* Return TRUE if the "My Variants" feature is enabled in hg.conf * and the current request comes from a valid user */ void myVariantsShareApiHandler(char *action); /* Handle share API requests. Outputs JSON to stdout and calls exit(0). * Called from main() before cartHtmlShell. */ void notify(char *msg, char *msgId); /* print a message into a hidden DIV tag, and call Javascript to move the DIV * under the tableHeaderForm element and un-hide it. */ void myVariantsProcessShareParam(); /* Check for myVarShare CGI param, validate the share token, and store * the share reference in the cart. Must be called before track loading. */