c393b2f6fa265761873dc9222bc8ba83015b3d5d mspeir Fri Jun 3 13:04:17 2016 -0700 Custom tracks in sessions no longer expire. Changing cart message when session with custom tracks is saved. Reminds users to keep a local back-up of their session contents and custom tracks, refs #14724 diff --git src/hg/lib/cart.c src/hg/lib/cart.c index a16e65b..08aca5a 100644 --- src/hg/lib/cart.c +++ src/hg/lib/cart.c @@ -2782,33 +2782,34 @@ } if (gotExpiredCT) { slSort(&expiredDbList, slNameCmp); dyStringPrintf(dyMessage, "<P>Note: the session has at least one expired custom " "track (in database "); for (sln = expiredDbList; sln != NULL; sln = sln->next) dyStringPrintf(dyMessage, "%s%s", sln->name, (sln->next ? sln->next->next ? ", " : " and " : "")); dyStringPrintf(dyMessage, "), so it may not appear as originally intended. "); } dyStringPrintf(dyMessage, - "Custom tracks are subject to an expiration policy described in the " - "<A HREF=\"../goldenPath/help/hgSessionHelp.html#CTs\" TARGET=_BLANK>" - "Session documentation</A>.</P>"); + "These custom tracks should not expire, however, " + "the UCSC Genome Browser is not a data storage service; " + "<b>please keep a local backup of your sessions contents " + "and custom track data</b>. </P>"); slNameFreeList(&liveDbList); slNameFreeList(&expiredDbList); } /* Check for saved blat results (quasi custom track). */ char *ss = cartOptionalString(cart, "ss"); if (isNotEmpty(ss)) { char buf[1024]; char *words[2]; int wordCount; boolean exists = FALSE; safecpy(buf, sizeof(buf), ss); wordCount = chopLine(buf, words); if (wordCount < 2) exists = FALSE;