Skip to content

Commit

Permalink
BUG: Add suffix and outputdir to the JointFusion parameters
Browse files Browse the repository at this point in the history
Case when inputs are provided via command line is not working
  • Loading branch information
juanprietob committed Aug 27, 2018
1 parent fb4ed77 commit 1e31bb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NeosegPipeline/NeosegPipelineTool.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ NeosegPipelineTool::NeosegPipelineTool(QString programPath)
void NeosegPipelineTool::setOutput(QString output)
{
m_parameters->setOutput(output);
if(m_parameters->getAntsJointFusionParameters()){
m_parameters->getAntsJointFusionParameters()->setOutputDir(output);
}
}

void NeosegPipelineTool::setPrefix(QString prefix)
Expand Down
1 change: 1 addition & 0 deletions NeosegPipeline/Pipeline.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ void Pipeline::writeantsJointFusionExecution()
QString module_name = "AntsJointFusionExecution";
m_antsJointFusionExecution = new::AntsJointFusionExecution(module_name);
m_antsJointFusionExecution->setIndent(m_indent);
m_antsJointFusionExecution->setNeo(m_parameters->getNeo());
//m_atlasPopulationRegistration->setAtlasPopulation(m_parameters->getAtlasPopulation());
m_antsJointFusionExecution->setAntsJointFusionParameters(m_parameters->getAntsJointFusionParameters());
//m_antsJointFusionExecution->SetPipelineParameters(m_parameters);
Expand Down

0 comments on commit 1e31bb4

Please sign in to comment.