src/hg/makeDb/hgBedsToBedExps/hgBedsToBedExps.c 1.5

1.5 2010/05/06 17:53:41 kent
Making it so that output scores are integer rather than floating point since they are in 0-1000 range.
Index: src/hg/makeDb/hgBedsToBedExps/hgBedsToBedExps.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/makeDb/hgBedsToBedExps/hgBedsToBedExps.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 4 -r1.4 -r1.5
--- src/hg/makeDb/hgBedsToBedExps/hgBedsToBedExps.c	4 May 2010 23:55:11 -0000	1.4
+++ src/hg/makeDb/hgBedsToBedExps/hgBedsToBedExps.c	6 May 2010 17:53:41 -0000	1.5
@@ -204,9 +204,9 @@
     for (i=0; i<sourceCount; ++i)
         fprintf(f, "%d,", i);
     fprintf(f, "\t");
     for (i=0; i<sourceCount; ++i)
-        fprintf(f, "%1.5f,", levels[i]);
+        fprintf(f, "%d,", round(levels[i]));
     fprintf(f, "\n");
     }
 
 slFreeList(&list);