a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/hg/lib/bed.c src/hg/lib/bed.c index 920b5e6..d7e0a1e 100644 --- src/hg/lib/bed.c +++ src/hg/lib/bed.c @@ -1,26 +1,25 @@ /* bed.c was originally generated by the autoSql program, which also * generated bed.h and bed.sql. This module links the database and the RAM * representation of objects. */ #include "common.h" #include "bed.h" #include "minChromSize.h" #include "hdb.h" -static char const rcsid[] = "$Id: bed.c,v 1.65 2009/04/17 22:02:51 kent Exp $"; struct genePred *bedToGenePred(struct bed *bed) /* Convert a single bed to a genePred structure. */ { struct genePred *gp = NULL; int i; assert(bed); AllocVar(gp); gp->name = cloneString(bed->name); gp->chrom = cloneString(bed->chrom); //fails if strlen(bed->strand) == 2 as genepred has no space for zero terminator //safef(gp->strand, sizeof(gp->strand), "%s", bed->strand); gp->strand[0] = bed->strand[0]; gp->strand[1] = '\0'; assert(gp->strand[1] != '-');