38791fcc8e27d95bf1ecde01035aae26027f956b max Thu Feb 18 05:05:17 2021 -0800 making hgBlat json format look more like our API, refs #27010 diff --git src/inc/psl.h src/inc/psl.h index 4fa1e9d..507b663 100644 --- src/inc/psl.h +++ src/inc/psl.h @@ -116,31 +116,31 @@ struct psl *pslxLoadLm(char **row, struct lm *lm); /* Load row into local memory pslx. */ struct psl *pslLoadLm(char **row, struct lm *lm); /* Load row into local memory psl. */ void pslWriteHead(FILE *f); /* Write head of psl. */ void pslxWriteHead(FILE *f, enum gfType qType, enum gfType tType); /* Write head of pslx (extended psl). */ void pslWriteAll(struct psl *pslList, char *fileName, boolean writeHeader); /* Write a psl file from list. */ -void pslWriteAllJson(struct psl *pslList, FILE *f, boolean writeHeader); +void pslWriteAllJson(struct psl *pslList, FILE *f, char *db, boolean writeHeader); /* Write a psl file from list as a json array . */ struct lineFile *pslFileOpen(char *fileName); /* Read header part of psl and make sure it's right. * Return line file handle to it. */ struct lineFile *pslFileOpenWithMeta(char *fileName, FILE *f); /* Read header part of psl and make sure it's right. * Return line file handle to it and send meta data to output file f */ struct lineFile *pslFileOpenWithUniqueMeta(char *fileName, FILE *f); /* Read header part of psl and make sure it's right. * Set flag to suppress duplicate header comments. * Return line file handle to it. */