aaf862066887971c08f4fb632fff365a2d453450
jcasper
  Tue Jan 13 23:09:13 2026 -0800
Changing Hi-C arc limit default to 10000 and turning it on by default, also
correcting a typo.  refs #36774

diff --git src/hg/lib/hicUi.c src/hg/lib/hicUi.c
index ffc9744fc09..31d8fa4371e 100644
--- src/hg/lib/hicUi.c
+++ src/hg/lib/hicUi.c
@@ -4,41 +4,42 @@
  * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
 
 #include "cheapcgi.h"
 #include "cart.h"
 #include "hui.h"
 #include "web.h"
 #include "trackDb.h"
 #include "hicUi.h"
 #include "cStraw.h"
 #include "regexHelper.h"
 #include "obscure.h"
 #include "htmshell.h"
 #include "htmlColor.h"
 
 boolean hicUiArcLimitEnabled(struct cart *cart, struct trackDb *tdb)
-/* Returns true if the checkbox for limiting the number of displayed arcs is checked */
+/* Returns true if the checkbox for limiting the number of displayed arcs is checked.
+ * Defaults to true. */
 {
-return cartOrTdbBoolean(cart, tdb, HIC_ARC_LIMIT_CHECKBOX, FALSE);
+return cartOrTdbBoolean(cart, tdb, HIC_ARC_LIMIT_CHECKBOX, TRUE);
 }
 
 int hicUiGetArcLimit(struct cart *cart, struct trackDb *tdb)
 /* Returns the currently configured limit on the number of arcs drawn in arc mode.
- * Defaults to 5000.
+ * Defaults to 10000.
  */
 {
-int arcLimit = cartOrTdbInt(cart, tdb, HIC_ARC_LIMIT, 5000);
+int arcLimit = cartOrTdbInt(cart, tdb, HIC_ARC_LIMIT, 10000);
 return arcLimit;
 }
 
 void hicUiAddArcLimitJS(struct cart *cart, char *track)
 /* Write out a bit of javascript to associate checking/unchecking the arc count
  * limit checkbox with deactivating/activating (respectively) the text
  * input.  */
 {
 struct dyString *new = dyStringNew(0);
 dyStringPrintf(new, "$('input[name=\"%s.%s\"]')[0].onclick = function() {", track, HIC_ARC_LIMIT_CHECKBOX);
 dyStringPrintf(new, "if (this.checked) {$('input[name=\"%s.%s\"]')[0].disabled = false; $('span#hicArcLimitText').css('color', '');}", track, HIC_ARC_LIMIT);
 dyStringPrintf(new, "else {$('input[name=\"%s.%s\"]')[0].disabled = true; $('span#hicArcLimitText').css('color', 'gray');} };\n", track, HIC_ARC_LIMIT);
 dyStringPrintf(new, "if (!$('input[name=\"%s.%s\"]')[0].checked) {$('input[name=\"%s.%s\"]')[0].disabled = true; $('span#hicArcLimitText').css('color', 'gray');}\n",
         track, HIC_ARC_LIMIT_CHECKBOX, track, HIC_ARC_LIMIT);
 jsInline(dyStringContents(new));