X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=chimeracheckrdp.cpp;fp=chimeracheckrdp.cpp;h=790d3ebe01100c1d615be9d189e73d6fa03f28ef;hb=aa9238c0a9e6e7aa0ed8b8b606b08ad4fd7dcfe3;hp=3e6dacdee85dbb75fb9b6535f259eead8a4f2509;hpb=182db2b6f1747bc1e0b8cd3eceec8751abdd31d5;p=mothur.git diff --git a/chimeracheckrdp.cpp b/chimeracheckrdp.cpp index 3e6dacd..790d3eb 100644 --- a/chimeracheckrdp.cpp +++ b/chimeracheckrdp.cpp @@ -24,7 +24,7 @@ ChimeraCheckRDP::~ChimeraCheckRDP() { } } //*************************************************************************************************************** -void ChimeraCheckRDP::print(ostream& out, ostream& outAcc) { +int ChimeraCheckRDP::print(ostream& out, ostream& outAcc) { try { m->mothurOut("Processing: " + querySeq->getName()); m->mothurOutEndLine(); @@ -48,6 +48,8 @@ void ChimeraCheckRDP::print(ostream& out, ostream& outAcc) { makeSVGpic(IS); //zeros out negative results } } + + return 0; } catch(exception& e) { m->errorOut(e, "ChimeraCheckRDP", "print"); @@ -55,7 +57,7 @@ void ChimeraCheckRDP::print(ostream& out, ostream& outAcc) { } } //*************************************************************************************************************** -void ChimeraCheckRDP::doPrep() { +int ChimeraCheckRDP::doPrep() { try { templateDB = new AlignmentDB(templateFileName, "kmer", kmerSize, 0.0,0.0,0.0,0.0); m->mothurOutEndLine(); @@ -65,6 +67,8 @@ void ChimeraCheckRDP::doPrep() { if (name != "") { readName(name); //fills name map with names of seqs the user wants to have .svg for. } + + return 0; } catch(exception& e) { m->errorOut(e, "ChimeraCheckRDP", "doPrep");