20a082c2ea3b931b061a716135c29368befcf472 kent Sun Sep 1 17:38:58 2019 -0700 Fixing mistaken plural in hcat_contibutors diff --git src/hca/hcat/hcatTabUpdate/hcatTabUpdate.c src/hca/hcat/hcatTabUpdate/hcatTabUpdate.c index 8a800b6..6850d5d 100644 --- src/hca/hcat/hcatTabUpdate/hcatTabUpdate.c +++ src/hca/hcat/hcatTabUpdate/hcatTabUpdate.c @@ -355,31 +355,31 @@ struct fieldedTable *inSample = fieldedTableFromTabFile(inPath, inPath, sampleRequired, ArraySize(sampleRequired)); /* Make sure inProject table makes sense by having exactly one row */ if (inProject->rowCount != 1) errAbort("Expected one row in %s, got %d\n", projectFile, inProject->rowCount); struct fieldedTable *outContributor = makeContributors(inProject); struct fieldedTable *outProject = makeProject(inProject, inSample); struct fieldedTable *outLab = makeLab(inProject); /* Write output from lowest level to highest level tables. */ makeDirsOnPath(outDir); char outPath[PATH_LEN]; -safef(outPath, sizeof(outPath), "%s/hcat_%s", outDir, "contributors.tsv"); +safef(outPath, sizeof(outPath), "%s/hcat_%s", outDir, "contributor.tsv"); fieldedTableToTabFile(outContributor, outPath); if (outLab != NULL) { safef(outPath, sizeof(outPath), "%s/hcat_%s", outDir, "lab.tsv"); fieldedTableToTabFile(outLab, outPath); } safef(outPath, sizeof(outPath), "%s/hcat_%s", outDir, "project.tsv"); fieldedTableToTabFile(outProject, outPath); } int main(int argc, char *argv[]) /* Process command line. */ {