- flowFile >> seqName >> endFlow;
- //cout << "in Flowdata " + seqName << endl;
- for(int i=0;i<numFlows;i++) { flowFile >> flowData[i]; }
- //cout << "in Flowdata read " << seqName + " done" << endl;
- updateEndFlow();
- translateFlow();
-
- m->gobble(flowFile);
+
+ seqName = getSequenceName(flowFile);
+ if (m->debug) { m->mothurOut("[DEBUG]: flow = " + seqName + " "); }
+ flowFile >> endFlow;
+ if (m->debug) { m->mothurOut(toString(endFlow) + " "); }
+ if (!m->control_pressed) {
+ if (m->debug) { m->mothurOut(" "); }
+ for(int i=0;i<numFlows;i++) {
+ flowFile >> flowData[i];
+ if (m->debug) { m->mothurOut(toString(flowData[i]) + " "); }
+ }
+ if (m->debug) { m->mothurOut("\n"); }
+ updateEndFlow();
+ translateFlow();
+ m->gobble(flowFile);
+ }
+