d8e2f99f9cb8144a0a1c22cfe006d90241ada655 hiram Thu Jan 15 12:27:30 2026 -0800 testing connection to the branch libifyGenomeSearchBar refs #31811 diff --git src/hg/hubApi/liftOver.c src/hg/hubApi/liftOver.c index 9d211818193..3d148e4e75d 100644 --- src/hg/hubApi/liftOver.c +++ src/hg/hubApi/liftOver.c @@ -255,31 +255,31 @@ char *fileName = liftOverChainFile(fromDb->name, toDb->name); if (isEmpty(fileName)) apiErrAbort(err400, err400Msg, "Unable to find a chain file from %s to %s - please contact support", fromGenome, toGenome); fileName = hReplaceGbdbMustDownload(fileName); char fromPos[4096]; safef(fromPos, sizeof(fromPos), "%s:%u-%u", chrom, uStart, uEnd); char *nChrom; int nStart, nEnd; if (!hgParseChromRange(NULL, fromPos, &nChrom, &nStart, &nEnd)) apiErrAbort(err400, err400Msg, "position %s is not in chrom:start-end format", fromPos); int origSize = nEnd - nStart; struct chain *chainList = chainLoadAndTrimIntersecting(fileName, nChrom, nStart, nEnd); if (chainList == NULL) apiErrAbort(err400, err400Msg, "Sorry, this position %s is not found in the %s assembly", fromPos, toGenome); chainListOut(fromGenome, toGenome, origSize, fromPos, chainList); -} +} /* void apiLiftOver(char *words[MAX_PATH_INFO]) */ // char *argLiftRequest[] = {argFromGenome, argToGenome, argEmail, argComment, NULL}; void apiLiftRequest(char *words[MAX_PATH_INFO]) /* 'liftOver' function words[1] is the subCommand */ { char *extraArgs = verifyLegalArgs(argLiftRequest); if (extraArgs) apiErrAbort(err400, err400Msg, "extraneous arguments found for function /liftRequest'%s'", extraArgs); char *fromGenome = cgiOptionalString(argFromGenome); char *toGenome = cgiOptionalString(argToGenome); char *email = cgiOptionalString(argEmail); char *comment = cgiOptionalString(argComment); /* probably want a silent exit here */ @@ -301,16 +301,16 @@ } else { if (! debug) apiErrAbort(err400, err400Msg, "can not find required inputs for endpoint '/liftRequest"); } struct dyString *msg = newDyString(0); dyStringPrintf(msg, "Lift over request\nfrom: %s\nto: %s\nemail '%s'\ncomment: '%s'", fromGenome, toGenome, email, comment); /* our mailViaPipa never has any relevant return code indicating * success or failure. So, ignore the return integer: */ // (void) mailViaPipe("TBD:GoogleEmailGroupAddress", "liftOver request", msg->string, "genome-www@ucsc.edu"); /* some kind of response here back to the request page */ struct jsonWrite *jw = apiStartOutput(); jsonWriteString(jw, "msg", dyStringCannibalize(&msg)); apiFinishOutput(0,NULL,jw); -} +} /* void apiLiftRequest(char *words[MAX_PATH_INFO]) */