+
+ //check phylip file to make sure its really phylip and not column
+ if ((it->first == "phylip") && (ableToOpen != 1)) {
+ ifstream inPhylip;
+ m->openInputFile(it->second, inPhylip);
+
+ string numTest, name;
+ inPhylip >> numTest >> name;
+ inPhylip.close();
+
+ if (!m->isContainingOnlyDigits(numTest)) { m->mothurOut("[ERROR]: expected a number and got " + numTest + ". I suspect you entered a column formatted file as a phylip file, aborting."); m->mothurOutEndLine(); return "not found"; }
+ }