X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sensspeccommand.cpp;fp=sensspeccommand.cpp;h=3eb422e54c1943b71c59e719ce840cbf9675448a;hb=9d6f36294dcaef3ac65a0e69fd8140077c3209e0;hp=c7f67b40b0e10ae14741600f9b8b3b8d7e0adaa2;hpb=f0a594f6676ef5a52d1f122b6de70de2fda08c81;p=mothur.git diff --git a/sensspeccommand.cpp b/sensspeccommand.cpp index c7f67b4..3eb422e 100644 --- a/sensspeccommand.cpp +++ b/sensspeccommand.cpp @@ -189,7 +189,7 @@ SensSpecCommand::SensSpecCommand(string option) { lineLabel = validParameter.validFile(parameters, "label", false); if (lineLabel == "not found") { lineLabel = ""; } - sensSpecFileName = listFile.substr(0,listFile.find_last_of('.')) + ".sensspec"; + sensSpecFileName = outputDir + m->getRootName(m->getSimpleName(listFile)) + ".sensspec"; } } catch(exception& e) {