Skip to content
Snippets Groups Projects
Commit b1b9c2aa authored by Julien Malik's avatar Julien Malik
Browse files

ENH: change order, input before output

parent 53d49a3f
Branches
Tags
No related merge requests found
...@@ -57,9 +57,8 @@ private: ...@@ -57,9 +57,8 @@ private:
void DoCreateParameters() void DoCreateParameters()
{ {
AddParameter(ParameterType_OutputImage, "out", "Output Image");
AddParameter(ParameterType_String, "inname", "Input file name"); AddParameter(ParameterType_String, "inname", "Input file name");
AddParameter(ParameterType_OutputImage, "out", "Output Image");
} }
void DoUpdateParameters() void DoUpdateParameters()
...@@ -70,7 +69,7 @@ private: ...@@ -70,7 +69,7 @@ private:
void DoExecute() void DoExecute()
{ {
m_Reader->SetFileName( GetParameterString("inname") ); m_Reader->SetFileName( GetParameterString("inname") );
m_Reader->UpdateOutputInformation();
SetParameterOutputImage("out", m_Reader->GetOutput()); SetParameterOutputImage("out", m_Reader->GetOutput());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment