Commit df4ad340 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Improved error message

See #726
parent 9b08073c
......@@ -95,7 +95,7 @@ IFile& IFile::advanceField() {
}
done=true;
} else if( !words.empty() ) {
plumed_merror("file " + getPath() + ": mismatch between number of fields in file and expected number");
plumed_merror("file " + getPath() + ": mismatch between number of fields in file and expected number\n this is the faulty line:\n"+line);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment