54edad8bebf1ef9763b9f16ec2c34143c447aafa
max
  Thu Dec 10 06:17:14 2020 -0800
auto-detecting track type bigInteract if custom track file ends with .inter.bb or .inter.bigBed, no redmine

diff --git src/hg/lib/customFactory.c src/hg/lib/customFactory.c
index ad57e46..dabb067 100644
--- src/hg/lib/customFactory.c
+++ src/hg/lib/customFactory.c
@@ -3442,30 +3442,32 @@
 				     struct customTrack *track)
 /* errAbort if looks like user uploaded a bigData file, otherwise return FALSE. */
 {
 char *line = customFactoryNextRealTilTrack(cpp);
 if (line == NULL)
     return FALSE;
 if (hasUnprintable(line, 6))
     {
     char *fileName = customPpFileName(cpp);
     if (type == NULL &&isNotEmpty(fileName))
 	{
 	if (endsWith(fileName, ".bam"))
 	    type = "bam";
 	else if (endsWith(fileName, ".bb") || endsWith(fileName, ".bigBed"))
 	    type = "bigBed";
+	else if (endsWith(fileName, ".inter.bb") || endsWith(fileName, ".inter.bigBed"))
+	    type = "bigInteract";
 	else if (endsWith(fileName, ".bw") || endsWith(fileName, ".bigWig"))
 	    type = "bigWig";
 	}
     char *docUrl = NULL;
     if (isNotEmpty(type))
 	docUrl = bigDataDocPath(type);
     struct dyString *dataName = dyStringNew(0);
     if (isNotEmpty(fileName) && !sameString(fileName, CT_NO_FILE_NAME)
 	&& !startsWith("memory://", fileName))
 	dyStringPrintf(dataName, " (%s)", fileName);
     else if (track->tdb && track->tdb->shortLabel
 	     && differentString(track->tdb->shortLabel, CT_DEFAULT_TRACK_NAME))
 	dyStringPrintf(dataName, " (%s)", track->tdb->shortLabel);
     if (docUrl)
 	errAbort("It appears that you are directly uploading binary data of type %s%s.  "