]> git.donarmstrong.com Git - mothur.git/blobdiff - getlabelcommand.cpp
done testing 1.13.0
[mothur.git] / getlabelcommand.cpp
index d306250f5b82b48cd6b353c4af0619907e2b9086..971feb4b33f70f44bcfbabdf6de55caf17bda3cd 100644 (file)
@@ -59,11 +59,14 @@ int GetlabelCommand::execute(){
                
                filename = globaldata->inputFileName;
                ifstream in;
-               openInputFile(filename, in);
+               m->openInputFile(filename, in);
                string label;
                int numBins = 0;
                int count = -1;
                while(in.good()) {
+                       
+                       if (m->control_pressed) { in.close();  return 0; }
+                       
                        if(count > numBins)
                                count = 0;
                        if(count == 0) {