]> git.donarmstrong.com Git - mothur.git/blobdiff - flowdata.cpp
added modify names parameter to set.dir
[mothur.git] / flowdata.cpp
index b2e856c28e5c939a00102e19d34a97799c11ae08..66261e33b922f17be93e3f929582ca9ea7d9208f 100644 (file)
@@ -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;