b2b0b546420d7d65ace1a2891c2677a75f1b63a5 kent Fri Apr 12 09:03:46 2013 -0700 Removing warning. diff --git src/lib/gff.c src/lib/gff.c index 1a9ca8a..489ef6d 100644 --- src/lib/gff.c +++ src/lib/gff.c @@ -222,35 +222,30 @@ if (!isdigit(val[0])) errAbort("Expecting number after exon_number, got %s line %d of %s", val, lineIx, fileName); gl->exonNumber = atoi(val); } else if (sameString("intron_id", type)) gl->intronId = gffFileGetStr(gff, val); else if (sameString("intron_status", type)) gl->intronStatus = gffFileGetStr(gff, val); else if (sameString("protein_id", type)) gl->proteinId = gffFileGetStr(gff, val); else if (sameString("gene_name", type)) gl->geneName = gffFileGetStr(gff, val); else if (sameString("transcript_name", type)) gl->transcriptName = gffFileGetStr(gff, val); } -if (gl->group == NULL) - { - if (gl->geneId == NULL) - warn("No gene_id or transcript_id line %d of %s", lineIx, fileName); - } } void gffFileAddRow(struct gffFile *gff, int baseOffset, char *words[], int wordCount, char *fileName, int lineIx) /* Process one row of GFF file (a non-comment line parsed by tabs normally). */ { struct hashEl *hel; struct gffLine *gl; if (wordCount < 8) gffSyntaxError(fileName, lineIx, "Word count less than 8 "); AllocVar(gl); if ((hel = hashLookup(gff->seqHash, words[0])) == NULL) {