ef7f905f8875763947ebe09110b0c3205e567cfa ceisenhart Wed May 20 11:15:40 2015 -0700 REFS #15377 fixing an issue with the usage statement diff --git src/utils/bigWigCluster/bigWigCluster.c src/utils/bigWigCluster/bigWigCluster.c index 0572a9c..f2d0a4b 100644 --- src/utils/bigWigCluster/bigWigCluster.c +++ src/utils/bigWigCluster/bigWigCluster.c @@ -391,26 +391,26 @@ /* Convert tree to ordered list, do coloring, and make outputs */ struct slRef *orderedList = getOrderedLeafList(clusters); colorLeaves(orderedList, distanceHash); printHierarchicalJson(outputJson, clusters, 20, 20); printOrderedTab(outputTab, orderedList); // Clean up remaining temp files char cmd[1024]; safef(cmd, sizeof(cmd), "rm %s*", tmpPrefix); mustSystem(cmd); } int main(int argc, char *argv[]) /* Process command line. */ { +optionInit(&argc, argv, options); clThreads = optionInt("threads", clThreads); clHacTree = optionVal("hacTree", clHacTree); -optionInit(&argc, argv, options); if (argc != 5) usage(); gThreadCount = optionInt("threads", gThreadCount); gTmpDir = optionVal("tmpDir", gTmpDir); safef(tmpPrefix, sizeof(tmpPrefix), "%s/bwc_tmp_", gTmpDir); bigWigCluster(argv[1], argv[2], argv[3], argv[4]); return 0; }