X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flowdata.cpp;h=2891281c9de412a27b2d27229683c8d3bb7cf41b;hb=250e3b11b1c9c1e1ad458ab6c7e71ac2e67e11d9;hp=7d61f8c265e060f2dc0002c94f69edfd054f89ae;hpb=cd1a91833339b19a107ce769ee67b5fc74c93ce4;p=mothur.git diff --git a/flowdata.cpp b/flowdata.cpp index 7d61f8c..2891281 100644 --- a/flowdata.cpp +++ b/flowdata.cpp @@ -40,12 +40,19 @@ FlowData::FlowData(int numFlows, float signal, float noise, int maxHomoP, string //********************************************************************************************************************** bool FlowData::getNext(ifstream& flowFile){ - try { + seqName = getSequenceName(flowFile); - flowFile >> endFlow; + if (m->debug) { m->mothurOut("[DEBUG]: flow = " + seqName + " "); } + flowFile >> endFlow; + if (m->debug) { m->mothurOut(toString(endFlow) + " "); } if (!m->control_pressed) { - for(int i=0;i> flowData[i]; } + if (m->debug) { m->mothurOut(" "); } + for(int i=0;i> flowData[i]; + if (m->debug) { m->mothurOut(toString(flowData[i]) + " "); } + } + if (m->debug) { m->mothurOut("\n"); } updateEndFlow(); translateFlow(); m->gobble(flowFile);