]> git.donarmstrong.com Git - mothur.git/blobdiff - mothurout.cpp
added create.database command. fixed help in get.sharedseqs. added new constructor...
[mothur.git] / mothurout.cpp
index c89d580d64f6c69a6afedada448143ae114453a3..4df5f96eb6086e8d2e8e96e3f448948540a1c8b4 100644 (file)
@@ -1351,7 +1351,7 @@ int MothurOut::readNames(string namefile, map<string, string>& nameMap) {
                }
                in.close();
                
-               return 0;
+               return nameMap.size();
                
        }
        catch(exception& e) {
@@ -1380,7 +1380,7 @@ int MothurOut::readNames(string namefile, map<string, vector<string> >& nameMap)
                }
                in.close();
                
-               return 0;
+               return nameMap.size();
                
        }
        catch(exception& e) {