eb6002e80a43afcbfb3fabfd7d9412887c7d3b3c galt Tue Dec 31 23:47:44 2024 -0800 minor compilter fix for fakeFinContigs. diff --git src/hg/fakeFinContigs/fakeFinContigs.c src/hg/fakeFinContigs/fakeFinContigs.c index 1c0e1c9..c0f846e 100644 --- src/hg/fakeFinContigs/fakeFinContigs.c +++ src/hg/fakeFinContigs/fakeFinContigs.c @@ -33,31 +33,31 @@ char name[16]; /* Contig name. */ int startOffset; /* Start offset in chromosome. */ int endOffset; /* End offset in chromosome. */ struct agpFrag *agpList; /* List of fragments that make it up. */ }; void fakeFinContigs(char *agpName, char *faName, char *finDir, char *rootName, char *finFaDir, char *ooVer) /* fakeFinContigs - Fake up contigs for a finished chromosome. */ { struct contig *contigList = NULL, *contig = NULL; struct agpFrag *agp; struct lineFile *lf = lineFileOpen(agpName, TRUE); char *line, *words[16]; int lineSize, wordCount; int contigIx = 0; -char liftDir[512], contigDir[512], path[512]; +char liftDir[512], contigDir[512], path[1024]; char chrom[128]; FILE *f; struct dnaSeq *seq; int fragIx; /* Build up contig list by scanning agp file. */ printf("Reading %s\n", lf->fileName); while (lineFileNext(lf, &line, &lineSize)) { if (line[0] == '#' || line[0] == 0) continue; wordCount = chopLine(line, words); if (wordCount < 5) errAbort("Expecting at least 5 words line %d of %s", lf->lineIx, lf->fileName); if (words[4][0] == 'N' || words[4][0] == 'U')