c0a6706dea55f019923332c5f51dfe64fc420dc8 lrnassar Wed Sep 9 12:15:27 2026 -0700 Comment touch-ups from CR: reattach delayFraction's continuation comment, drop an imprecise history aside in the counter comment. refs #38293 diff --git src/hg/hgBlat/hgBlat.c src/hg/hgBlat/hgBlat.c index b0e25eb588a..70fdd25b6c4 100644 --- src/hg/hgBlat/hgBlat.c +++ src/hg/hgBlat/hgBlat.c @@ -51,38 +51,38 @@ struct cart *cart; /* The user's ui state. */ struct hash *oldVars = NULL; struct perfTimer *hgBlatTiming = NULL; /* Non-NULL when &measureTiming is set; times the request * and is emitted as hgBlatData.timing for the JS dialog. */ boolean orgChange = FALSE; boolean dbChange = FALSE; boolean allGenomes = FALSE; boolean allResults = FALSE; boolean autoRearr = FALSE; static long enteredMainTime = 0; boolean autoBigPsl = FALSE; // DEFAULT VALUE change to TRUE in future /* for earlyBotCheck() function at the beginning of main() */ -#define delayFraction 0.5 /* standard penalty is 1.0 for most CGIs */ +#define delayFraction 0.5 /* standard penalty is 1.0 for most CGIs; this one is 0.5 */ /* Per-sequence query size limits, enforced below and shown by the new form's character counter * (emitted into hgBlatFormData so the C and JS numbers cannot drift apart). The total limit for * a multi-sequence submission is 2.5x the per-sequence limit. */ #define maxSingleSizeDna 75000 #define maxSingleSizeTx 10000 /* protein and translated queries */ - /* this one is 0.5 */ + static boolean issueBotWarning = FALSE; struct gfResult /* Detailed gfServer results, this is a span of several nearby tiles, minimum 2 for dna. */ { struct gfResult *next; /* have to multiply translated coordinates by 3 */ int qStart; /* Query Start Coordinate */ int qEnd; /* Query End Coordinate */ char *chrom; /* Target Chrom Name */ int tStart; /* Target Start Coordinate */ int tEnd; /* Target End Coordinate */ int numHits; /* number of tile hits, minimum 2 for dna */ char tStrand; /* + or - Target Strand used with prot, rnax, dnax */ int tFrame; /* Target Frame 0,1,2 (mostly ignorable?) used with prot, rnax, dnax */