Skip to content
Snippets Groups Projects
Commit d32db469 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Back to UpdateOutputInformation

parent 0d3f8566
Branches
Tags
No related merge requests found
...@@ -306,7 +306,7 @@ private: ...@@ -306,7 +306,7 @@ private:
} }
try try
{ {
math_filter->Update(); math_filter->UpdateOutputInformation();
SetParameterDescription("exp", "Valid expression"); SetParameterDescription("exp", "Valid expression");
} }
catch(itk::ExceptionObject& err) catch(itk::ExceptionObject& err)
...@@ -315,10 +315,14 @@ private: ...@@ -315,10 +315,14 @@ private:
// parser errors in the tooltip // parser errors in the tooltip
SetParameterDescription("exp", err.GetDescription()); SetParameterDescription("exp", err.GetDescription());
// std::string error_string(err.GetDescription()); // std::string error_string(err.GetDescription());
// otbAppLogINFO("There was an error while parsing the expression giving " // otbAppLogINFO("There was an error while parsing the expression given "
// "its input:" + error_string ); // "its input:" + error_string );
} }
catch(...)
{
SetParameterDescription("exp", "Other exception catched");
} }
}
void DoExecute() override void DoExecute() override
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment