453026e73d75f0e6057ff7c3ea67cc9b6b10c0e1
gperez2
Fri Jun 21 14:35:47 2024 -0700
Improving hgSession custom track download message regarding big* data formats not downloaded, refs #26118
diff --git src/hg/hgSession/backup.c src/hg/hgSession/backup.c
index 9f6f1ea..30ff9f7 100644
--- src/hg/hgSession/backup.c
+++ src/hg/hgSession/backup.c
@@ -581,32 +581,34 @@
slReverse(&resultList);
return resultList;
}
void processCtsForDownload(char *contents)
/* Process the saved session cart contents,
* looking for custom-tracks which are db-specific. */
{
struct downloadResults *resultList = processCtsForDownloadInternals(contents, NULL);
printf("
Custom Tracks
");
-printf("You can backup the custom tracks which you previously uploaded to UCSC Genome Browser servers.
"
- "It will create a single .tar.gz file with custom track data,
"
+printf("You can backup the custom tracks that were previously uploaded to the UCSC Genome Browser servers.
"
+ "Note: Only plain-text custom tracks uploaded to UCSC will be downloaded. "
+ "The big* data formats custom tracks are not downloaded due to the data hosted externally.
\n"
+ "The download will create a single .tar.gz file with custom track data, "
"which you can then download to your own machine for use as a backup.
"
"\n");
struct downloadResults *result = NULL;
int ctCount = 0;
long totalDataToDownload = 0;
for (result=resultList; result; result=result->next)
{
if (!result->ctPath) // ct.bed was missing for the db
continue;