Commit 71e17040 authored by frey_m's avatar frey_m
Browse files

FieldWriter: pad one zero more

parent fec7795a
......@@ -37,7 +37,7 @@ void FieldWriter::dumpField(FieldType& field, std::string name,
INFOMSG("*** START DUMPING " + Util::toUpper(name) + " FIELD ***" << endl);
boost::filesystem::path file("data");
boost::format filename("%1%-%2%-%|3$05|.dat");
boost::format filename("%1%-%2%-%|3$06|.dat");
std::string basename = OpalData::getInstance()->getInputBasename();
filename % basename % (name + std::string("_") + type) % step;
file /= filename.str();
......
Markdown is supported
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