41d01fd0f045a58696edb753981feef6865f62e5 kate Mon Apr 24 15:11:24 2017 -0700 1. Fix schema file syntax problem, strangely in comment. Caused crash in QA testing. 2. Allow bigBarChart w/o offset/len into matrix. refs #18736 diff --git src/hg/inc/barChartBed.h src/hg/inc/barChartBed.h index b32d2a5..ac7274a 100644 --- src/hg/inc/barChartBed.h +++ src/hg/inc/barChartBed.h @@ -71,30 +71,31 @@ void barChartBedOutput(struct barChartBed *el, FILE *f, char sep, char lastSep); /* Print out barChartBed. Separate fields with sep. Follow last field with lastSep. */ #define barChartBedTabOut(el,f) barChartBedOutput(el,f,'\t','\n'); /* Print out barChartBed as a line in a tab-separated file. */ #define barChartBedCommaOut(el,f) barChartBedOutput(el,f,',',','); /* Print out barChartBed as a comma separated list including final comma. */ /* -------------------------------- End autoSql Generated Code -------------------------------- */ #include "basicBed.h" #define BARCHART_OFFSET_COLUMN "_dataOffset" +#define BARCHART_LEN_COLUMN "_dataLen" void barChartBedCreateTable(struct sqlConnection *conn, char *table); /* Create barChart format table of given name. */ struct bed *barChartSimpleBedLoad(char **row); /* Load a bed from row containing barChart bed fields. * This is reuses autoSql barChartBedLoad, but with a full-size bed. Dispose of this with bedFree() */ struct barChartBed *barChartBedLoadOptionalOffsets(char **row, boolean hasOffsets); /* TODO: remove this -- offsets field will be required (though may be 0) */ /* Load a barChartBed from row fetched with select * from barChartBed * from database or file. Also supports schema lacking file offet and length for details. . Dispose of this with barChartBedFree(). */