cfdded79bc93623970ac979c766c582ecb765a98 tdreszer Tue Apr 22 16:51:26 2014 -0700 Oops. Accidentally referenced my provate warnWithBacktrace. Still #13087 diff --git src/hg/hgTracks/imageV2.c src/hg/hgTracks/imageV2.c index fd8c4a3..4190c54 100644 --- src/hg/hgTracks/imageV2.c +++ src/hg/hgTracks/imageV2.c @@ -1077,31 +1077,31 @@ char *imgFile = NULL; // name of file that hold the image char *neededId = NULL; // id is only added it it is NOT the trackId. if (imgTrack->tdb == NULL || differentStringNullOk(id, imgTrack->tdb->track)) neededId = id; // Trap surprising location s for map items, but only on test machines. if (hIsPrivateHost()) { int leftX, topY, rightX, bottomY; imgTrackCoordinates(imgTrack, &leftX, &topY, &rightX, &bottomY); if (topLeftY < topY || bottomRightY > bottomY || topLeftX < leftX || bottomRightX > rightX) { char * name = (imgTrack->name != NULL ? imgTrack->name : imgTrack->tdb != NULL ? imgTrack->tdb->track : imgFile); - warnWithBackTrace("imgTrackAddMapItem(%s,%s) mapItem(%d:%d,%d:%d) spills over track bounds(%d:%d,%d:%d)", + warn("imgTrackAddMapItem(%s,%s) mapItem(%d:%d,%d:%d) spills over track bounds(%d:%d,%d:%d)", name,title,topLeftX,topLeftY,bottomRightX,bottomRightY,leftX,topY,rightX,bottomY); } } int count = 0; for (slice = imgTrack->slices;slice != NULL;slice=slice->next) { if (slice->type == stButton) // Buttons don't have maps. Overlap will be ignored! continue; if (slice->parentImg != NULL) { if (imgFile == NULL) imgFile = slice->parentImg->file; } if (topLeftX < (slice->offsetX + slice->width-1)