X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=subsamplecommand.cpp;h=8c5761d7209df23b3a8127475772e3d80b89967e;hb=c7e8c2d15bd7cedcfdf18675cb0ea1a0dcd0e3c0;hp=f9cb1e60e43d59d9d1a6ce760b3031de0e92c301;hpb=5a4ac4f954c4b4445bcee272f1f8220ddcc9c1e4;p=mothur.git diff --git a/subsamplecommand.cpp b/subsamplecommand.cpp index f9cb1e6..8c5761d 100644 --- a/subsamplecommand.cpp +++ b/subsamplecommand.cpp @@ -808,7 +808,7 @@ int SubSampleCommand::processShared(vector& thislookup) { string thisOutputDir = outputDir; if (outputDir == "") { thisOutputDir += m->hasPath(sharedfile); } - string outputFileName = thisOutputDir + m->getRootName(m->getSimpleName(sharedfile)) + thislookup[0]->getLabel() + getOutputFileNameTag("shared", sharedfile); + string outputFileName = thisOutputDir + m->getRootName(m->getSimpleName(sharedfile)) + thislookup[0]->getLabel() + "." +getOutputFileNameTag("shared", sharedfile); SubSample sample; vector subsampledLabels = sample.getSample(thislookup, size);