Commit 2aea28db authored by allens's avatar allens
Browse files

added an unknown option

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@16073 18c085ea-50e0-402c-830e-de6fd14e8384
parent 3aa99008
......@@ -124,8 +124,8 @@ avtGeqdskFileFormat::avtGeqdskFileFormat(const char *filename, DBOptionsAttribut
tmp[48] = 0;
std::string alphaStr(tmp);
// One format : EFITD 03/16/2004 #118898 3400ms
if( alphaStr.find("EFITD") != std::string::npos &&
// One format : EFIT 03/16/2004 #118898 3400ms
if( alphaStr.find("EFIT") != std::string::npos &&
sscanf( tmp, "%s %s %s %s", id, date, run, time ) == 4 )
{
cycles.resize( 1 );
......@@ -156,6 +156,20 @@ avtGeqdskFileFormat::avtGeqdskFileFormat(const char *filename, DBOptionsAttribut
n = 7;
}
// Unkown - so no times or cycles.
else
{
cycles.resize( 1 );
cycles[0] = 0;
std::string timeStr(time);
times.resize( 1 );
times[0] = 0;
n = 7;
}
if( n != 7 )
{
EXCEPTION1( InvalidVariableException,
......
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