X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flowdata.cpp;h=66261e33b922f17be93e3f929582ca9ea7d9208f;hb=03fae12080951ea1d889da5187386abc236cc334;hp=b2e856c28e5c939a00102e19d34a97799c11ae08;hpb=0a9b5ee954b60abbd24c797cece23fb4a487cc8a;p=mothur.git diff --git a/flowdata.cpp b/flowdata.cpp index b2e856c..66261e3 100644 --- a/flowdata.cpp +++ b/flowdata.cpp @@ -68,9 +68,7 @@ string FlowData::getSequenceName(ifstream& flowFile) { flowFile >> name; if (name.length() != 0) { - for (int i = 0; i < name.length(); i++) { - if (name[i] == ':') { name[i] = '_'; m->changedSeqNames = true; } - } + m->checkName(name); }else{ m->mothurOut("Error in reading your flowfile, at position " + toString(flowFile.tellg()) + ". Blank name."); m->mothurOutEndLine(); m->control_pressed = true; } return name;