Skip to content
Snippets Groups Projects
Commit 3bccda7d authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: duplicated code coming from a different commit

parent ae095700
No related branches found
No related tags found
1 merge request!49Command line options for Monteverdi
......@@ -638,35 +638,6 @@ int Application::Execute()
}
}
// Update output information on every output image parameter
for (std::vector<std::string>::const_iterator it = paramList.begin();
it != paramList.end();
++it)
{
std::string key = *it;
if (GetParameterType(key) == ParameterType_OutputImage
&& IsParameterEnabled(key) )
{
Parameter* param = GetParameterByKey(key);
OutputImageParameter* outputParam = dynamic_cast<OutputImageParameter*>(param);
if(outputParam!=ITK_NULLPTR)
{
outputParam->GetImage()->UpdateOutputInformation();
}
}
else if (GetParameterType(key) == ParameterType_ComplexOutputImage
&& IsParameterEnabled(key))
{
Parameter* param = GetParameterByKey(key);
ComplexOutputImageParameter* outputParam = dynamic_cast<ComplexOutputImageParameter*>(param);
if(outputParam!=ITK_NULLPTR)
{
outputParam->GetImage()->UpdateOutputInformation();
}
}
}
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment