4c119082b36cfb29f5604ad45d44486ee7783eda
max
Fri Mar 28 16:12:28 2014 -0700
adding config option to suppress sending output to galaxy or great, refs #12717
diff --git src/hg/hgTables/mainPage.c src/hg/hgTables/mainPage.c
index 18d54ca..5f99aba 100644
--- src/hg/hgTables/mainPage.c
+++ src/hg/hgTables/mainPage.c
@@ -449,40 +449,45 @@
if (! otInOtList)
outputType = otDefault->name;
}
hPrintf("\n");
hPrintf(" ");
+
+if (!cfgOptionBooleanDefault("hgta.disableSendOutput", FALSE))
+ {
hPrintf(" Send output to ");
cgiMakeCheckBoxIdAndJS("sendToGalaxy", doGalaxy(),
"checkboxGalaxy",
"onclick=\"document.getElementById('checkboxGreat').checked=false; return true;\"");
hPrintf("Galaxy\n");
nbSpaces(2);
cgiMakeCheckBoxIdAndJS("sendToGreat", doGreat(),
"checkboxGreat",
"onclick=\"return onSelectGreat();\"");
hPrintf(" GREAT");
+ }
+
hPrintf("\n");
}
struct outputType otAllFields = { NULL, outPrimaryTable,"all fields from selected table", };
struct outputType otSelected = { NULL, outSelectedFields,
"selected fields from primary and related tables", };
struct outputType otSequence = { NULL, outSequence, "sequence", };
struct outputType otPal = { NULL, outPalOptions,
"CDS FASTA alignment from multiple alignment", };
struct outputType otGff = { NULL, outGff, "GTF - gene transfer format", };
struct outputType otBed = { NULL, outBed, "BED - browser extensible data", };
struct outputType otCustomTrack = { NULL, outCustomTrack, "custom track", };
struct outputType otHyperlinks = { NULL, outHyperlinks, "hyperlinks to Genome Browser", };
struct outputType otWigData = { NULL, outWigData, "data points", };
struct outputType otWigBed = { NULL, outWigBed, "bed format", };