X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getlabelcommand.cpp;h=8535db3203c6da354ce55e1a4f095f07b6d4e487;hb=28bcfc4a41b8b82f66636587e0d4d355d07cbdd1;hp=aba8e8a128f6299feabfee18a8118384974fa206;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77;p=mothur.git diff --git a/getlabelcommand.cpp b/getlabelcommand.cpp index aba8e8a..8535db3 100644 --- a/getlabelcommand.cpp +++ b/getlabelcommand.cpp @@ -113,17 +113,17 @@ GetlabelCommand::GetlabelCommand(string option) { listfile = validParameter.validFile(parameters, "list", true); if (listfile == "not open") { listfile = ""; abort = true; } else if (listfile == "not found") { listfile = ""; } - else { format = "list"; inputfile = listfile; } + else { format = "list"; inputfile = listfile; m->setListFile(listfile); } sabundfile = validParameter.validFile(parameters, "sabund", true); if (sabundfile == "not open") { sabundfile = ""; abort = true; } else if (sabundfile == "not found") { sabundfile = ""; } - else { format = "sabund"; inputfile = sabundfile; } + else { format = "sabund"; inputfile = sabundfile; m->setSabundFile(sabundfile); } rabundfile = validParameter.validFile(parameters, "rabund", true); if (rabundfile == "not open") { rabundfile = ""; abort = true; } else if (rabundfile == "not found") { rabundfile = ""; } - else { format = "rabund"; inputfile = rabundfile; } + else { format = "rabund"; inputfile = rabundfile; m->setRabundFile(rabundfile); } if ((listfile == "") && (rabundfile == "") && (sabundfile == "")) { //is there are current file available for any of these?