]> git.donarmstrong.com Git - mothur.git/blobdiff - groupmap.cpp
fixed pintail bug
[mothur.git] / groupmap.cpp
index 8d0662f9c404cb05d4cfed74596a33284d5235d9..bc871c8e68e27ae1a90ccea96b3121aaea5611e3 100644 (file)
 int GroupMap::readMap() {
                string seqName, seqGroup;
                int error = 0;
-       
+
                while(fileHandle){
                        fileHandle >> seqName;                  //read from first column
                        fileHandle >> seqGroup;                 //read from second column
                        
+                       if (m->control_pressed) {  fileHandle.close();  return 1; }
+       
                        setNamesOfGroups(seqGroup);
                        
                        it = groupmap.find(seqName);