]> git.donarmstrong.com Git - mothur.git/blobdiff - getlinecommand.cpp
fixed a bug in calculating the # of ambig bases
[mothur.git] / getlinecommand.cpp
index 63dde60900ec5220817283a24981fc9db81b87f7..df14f5123d2bd2e8c6d02380520810211e19c461 100644 (file)
@@ -3,17 +3,13 @@
  *  Mothur
  *
  *  Created by Thomas Ryabin on 1/30/09.
- *  Copyright 2009 __MyCompanyName__. All rights reserved.
+ *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
  *
  */
 
 #include "getlinecommand.h"
 
 
-
-
-
-
 GetlineCommand::GetlineCommand(){
        try {
                globaldata = GlobalData::getInstance();
@@ -45,12 +41,10 @@ int GetlineCommand::execute(){
                int numBins = 0;
                int count = -1;
                int line = 1;
-               while(in.good())
-               {
+               while(in.good()) {
                        if(count > numBins)
                                count = 0;
-                       if(count == 0)
-                       {
+                       if(count == 0) {
                                cout << line << "\n";
                                in >> numBins;
                                line++;