9a739669ab82b721407a372be9eacb7d540d34f6
braney
Wed Feb 8 11:17:26 2017 -0800
take out "Extra fields" printf in bigPsl click support
diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index fcfbab4..2103cd8 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -2987,47 +2987,40 @@
// If showAll is on, show all alignments with this qName, not just the
// selected one.
if (showAll)
{
int fieldIx;
struct bptFile *bpt = bigBedOpenExtraIndex(bbi, "name", &fieldIx);
struct lm *lm = lmInit(0);
bbList = bigBedNameQuery(bbi, bpt, fieldIx, item, lm);
}
else
bbList = bigBedIntervalQuery(bbi, seqName, ivStart, ivEnd, 0, lm);
/* print out extra fields */
-boolean firstTime = TRUE;
for (bb = bbList; bb != NULL; bb = bb->next)
{
char *restFields[256];
int restCount = chopTabs(cloneString(bb->rest), restFields);
if (sameString(restFields[0], item))
{
int bedSize = 25;
int restBedFields = bedSize - 3;
if (restCount > restBedFields)
{
- if (firstTime)
- {
- printf(" %s Extra fields:
", item);
- firstTime = FALSE;
- };
-
char **extraFields = (restFields + restBedFields);
int extraFieldCount = restCount - restBedFields;
int printCount = extraFieldsPrint(tdb,NULL,extraFields, extraFieldCount);
printCount += 0;
}
}
}
char *bedRow[32];
char startBuf[16], endBuf[16];
int lastChromId = -1;
char chromName[bbi->chromBpt->keySize+1];
for (bb = bbList; bb != NULL; bb = bb->next)