Permalink
Browse files

Fixes bug with running of sens.spec

  • Loading branch information...
1 parent 59b7d0a commit d0d35b0303aef0a58cbb5a9f019744e0121034b6 @mothur-westcott mothur-westcott committed Sep 1, 2016
Showing with 2 additions and 5 deletions.
  1. +2 −5 source/commands/clustersplitcommand.cpp
@@ -1620,7 +1620,6 @@ int ClusterSplitCommand::vsearchDriver(string inputFile, string ucClusteredFile,
int ClusterSplitCommand::createMergedDistanceFile(vector< map<string, string> > distNames) {
try{
-
string thisOutputDir = outputDir;
if (outputDir == "") { thisOutputDir = m->hasPath(fastafile); }
map<string, string> variables;
@@ -1639,9 +1638,7 @@ int ClusterSplitCommand::createMergedDistanceFile(vector< map<string, string> >
outputTypes["column"].push_back(outputFileName); outputNames.push_back(outputFileName);
- return 0;
-
-
+ return 0;
}
catch(exception& e) {
m->errorOut(e, "ClusterSplitCommand", "createMergedDistanceFile");
@@ -1668,7 +1665,7 @@ int ClusterSplitCommand::runSensSpec() {
else { phylipFile = phylipfile; }
string inputString = "list=" + listFile;
- if (columnfile != "") { inputString += ", column=" + columnFile; }
+ if (columnFile != "") { inputString += ", column=" + columnFile; }
else if (phylipfile != "") { inputString += ", phylip=" + phylipfile; }
else { m->mothurOut("[WARNING]: Cannot run sens.spec analysis without a phylip or column file, skipping."); return 0; }

0 comments on commit d0d35b0

Please sign in to comment.