X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=chimerauchimecommand.cpp;h=d4cb57a3158a85008d30d9c875e331f5be5801e9;hb=1c898913f53fe4c6574102896b967d9347d1b42a;hp=5deeff755de28c54b6f06ed2caa84482788c7d1a;hpb=15dfbabd5aa00c468a43f1f99cb73b2ebc5b5e3f;p=mothur.git diff --git a/chimerauchimecommand.cpp b/chimerauchimecommand.cpp index 5deeff7..d4cb57a 100644 --- a/chimerauchimecommand.cpp +++ b/chimerauchimecommand.cpp @@ -715,7 +715,7 @@ int ChimeraUchimeCommand::driver(string outputFName, string filename, string acc in >> chimeraFlag >> name; //fix name if needed - if (templatefile != "self") { + if (templatefile == "self") { name = name.substr(0, name.length()-1); //rip off last / name = name.substr(0, name.find_last_of('/')); }