]> git.donarmstrong.com Git - mothur.git/blobdiff - globaldata.cpp
changed unifrac.weighted()
[mothur.git] / globaldata.cpp
index 66a44f25b7246af237194e634eeeeb9514623899..015293d727e5e94c51f1ce2bbe5a7ff6c6a7aee9 100644 (file)
@@ -110,7 +110,6 @@ void GlobalData::parseGlobalData(string commandString, string optionText){
                                if (key == "fileroot" )         { fileroot = value;             }
                                if (key == "abund" )        { abund = value;        }
                                if (key == "random" )           { randomtree = value;   }
-                               if (key == "groups" )           { groups = value;       }
                                if (key == "calc")                      { calc = value;         }
 
                                
@@ -160,7 +159,6 @@ void GlobalData::parseGlobalData(string commandString, string optionText){
                        if (key == "fileroot" )         { fileroot = value;             }
                        if (key == "abund" )        { abund = value;        }
                        if (key == "random" )           { randomtree = value;   }
-                       if (key == "groups" )           { groups = value;       }
                        if (key == "calc")                      { calc = value;         }
 
 
@@ -261,6 +259,7 @@ string GlobalData::getJumble()                      {       return jumble;          }
 string GlobalData::getFreq()                   {       return freq;            }
 string GlobalData::getAbund()           {   return abund;       }
 string GlobalData::getRandomTree()             {       return randomtree;      }
+string GlobalData::getGroups()                 {       return groups;          }
 void GlobalData::setListFile(string file)      {       listfile = file;        inputFileName = file;}
 void GlobalData::setRabundFile(string file)    {       rabundfile = file;      inputFileName = file;}
 void GlobalData::setSabundFile(string file)    {       sabundfile = file;      inputFileName = file;}
@@ -269,7 +268,8 @@ void GlobalData::setColumnFile(string file) {       columnfile = file;    inputFileNam
 void GlobalData::setNameFile(string file)              {       namefile = file;                }
 void GlobalData::setFormat(string Format)              {       format = Format;                }
 void GlobalData::setRandomTree(string Random)  {       randomtree = Random;    }
-void GlobalData::setCalc(string Calc)                  {       calc = Calc;    }
+void GlobalData::setGroups(string g)                   {       groups = g;                             }
+void GlobalData::setCalc(string Calc)                  {       calc = Calc;                    }
 
 /*******************************************************/