}
namesfile = validParameter.validFile(parameters, "name", true);
- if (namesfile == "not open") { abort = true; }
+ if (namesfile == "not open") { namesfile = ""; abort = true; }
else if (namesfile == "not found") { namesfile = ""; }
else { m->setNameFile(namesfile); }
else if (groupfile == "not found") { groupfile = ""; }
else { m->setGroupFile(groupfile); }
+ if (namesfile == ""){
+ vector<string> files; files.push_back(fastafile);
+ parser.getNameFile(files);
+ }
+
}
}
catch(exception& e) {