]> git.donarmstrong.com Git - mothur.git/blobdiff - clustercommand.cpp
added SequenceCountParser class to parse the count table by group. added count parame...
[mothur.git] / clustercommand.cpp
index 5a469963875ab3673e4d9b892e9ecf472f5af09e..06e627a615dacf69fe80464db0123582bef510ed 100644 (file)
@@ -154,6 +154,14 @@ ClusterCommand::ClusterCommand(string option)  {
                                        //if the user has not given a path then, add inputdir. else leave path alone.
                                        if (path == "") {       parameters["name"] = inputDir + it->second;             }
                                }
+                
+                it = parameters.find("count");
+                               //user has given a template file
+                               if(it != parameters.end()){ 
+                                       path = m->hasPath(it->second);
+                                       //if the user has not given a path then, add inputdir. else leave path alone.
+                                       if (path == "") {       parameters["count"] = inputDir + it->second;            }
+                               }
                        }
                        
                        //check for required parameters