m->openInputFile(fName, fileHandle);
filename = fName;
m->saveNextLabel = "";
-
}
/***********************************************************************/
ofHandle.close();
m->openInputFile(fName, fileHandle);
+ m->saveNextLabel = "";
+
}
catch(exception& e) {
m->errorOut(e, "InputData", "InputData");
ifstream in;
string thisLabel;
m->openInputFile(filename, in);
+ m->saveNextLabel = "";
if(in){
string thisLabel;
fileHandle.clear();
fileHandle.seekg(0);
+ m->saveNextLabel = "";
if(fileHandle){
ifstream in;
string thisLabel;
m->openInputFile(filename, in);
+ m->saveNextLabel = "";
if(in){
else if(format == "sabund"){
input = new SAbundVector(fileHandle);
}
-
+
m->gobble(fileHandle);
output = new OrderVector();
if(in){
if((format == "list") || (format == "listorder")) {
-
+ m->saveNextLabel = "";
while (in.eof() != true) {
input = new ListVector(in);
}
}
else if (format == "shared") {
-
+ m->saveNextLabel = "";
while (in.eof() != true) {
input = new SharedListVector(in);
}
}
-
+
in.close();
output = new OrderVector();
}
else if(format == "sabund"){
input = new SAbundVector(fileHandle);
- }
-
+ }
m->gobble(fileHandle);
sabund = new SAbundVector();
if(in){
if (format == "list") {
-
+ m->saveNextLabel = "";
while (in.eof() != true) {
input = new ListVector(in);
}
}
else if (format == "shared") {
-
+ m->saveNextLabel = "";
while (in.eof() != true) {
input = new SharedListVector(in);
else if(format == "sabund"){
input = new SAbundVector(fileHandle);
}
-
+
m->gobble(fileHandle);
rabund = new RAbundVector();
if(in){
if (format == "list") {
+ m->saveNextLabel = "";
while (in.eof() != true) {
}
}
else if (format == "shared") {
+ m->saveNextLabel = "";
while (in.eof() != true) {
}
- }
+ }
+
in.close();