3dcfa772d1883dd243f418e7808d82b8096cb335 braney Fri Apr 24 08:34:25 2020 -0700 increase the number of bases that extended DNA color choices will allow from 1 million to 5 million diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index e37f4b3..211659c 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -4632,33 +4632,33 @@ int padding3 = cartUsualInt(cart, "hgSeq.padding3", 0); int lineWidth = cartUsualInt(cart, "lineWidth", 60); char *casing = cartUsualString(cart, "hgSeq.casing", ""); char *repMasking = cartUsualString(cart, "hgSeq.repMasking", ""); boolean caseUpper= FALSE; char *pos = NULL; ctdbList = slCat(ctdbList, tdbList); tdbList = slCat(utdbList, ctdbList); cartWebStart(cart, database, "Extended DNA Case/Color"); if (NULL != (pos = stripCommas(cartOptionalString(cart, "getDnaPos")))) hgParseChromRange(database, pos, &seqName, &winStart, &winEnd); -if (winEnd - winStart > 1000000) +if (winEnd - winStart > 5000000) { - printf("Please zoom in to 1 million bases or less to color the DNA"); + printf("Please zoom in to 5 million bases or less to color the DNA"); return; } printf("<H1>Extended DNA Case/Color Options</H1>\n"); puts( "Use this page to highlight features in genomic DNA text. " "DNA covered by a particular track can be highlighted by " "case, underline, bold, italic, or color. See below for " "details about color, and for examples. <B>Tracks in " ""hide" display mode are not shown in the grid below.</B> <P>"); if (cgiBooleanDefined("hgSeq.maskRepeats")) cartSetBoolean(cart, "hgSeq.maskRepeats", maskRep); if (*repMasking != 0) cartSetString(cart, "hgSeq.repMasking", repMasking);