Skip to content

Commit

Permalink
Merge pull request #1695 from ANTsX/transform_util_naming
Browse files Browse the repository at this point in the history
ENH/BUG: CompositeTransformUtil --disassemble prepended to the output…
  • Loading branch information
cookpa authored Mar 11, 2024
2 parents beb4aa2 + 182accb commit 6c29d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/CompositeTransformUtil.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Disassemble(itk::TransformBaseTemplate<double> * transform,
TransformPointer curXfrm = composite->GetNthTransform(i);
auto * dispXfrm = dynamic_cast<DisplacementFieldTransformType *>(curXfrm.GetPointer());
std::stringstream fname;
fname << std::setfill('0') << std::setw(2) << i << "_" << prefix << "_" << curXfrm->GetNameOfClass();
fname << prefix << "_" << std::setfill('0') << std::setw(2) << i << "_" << curXfrm->GetNameOfClass();
if (dispXfrm != nullptr)
{
fname << ".nii.gz"; // if it's a displacement field transform
Expand Down

0 comments on commit 6c29d9d

Please sign in to comment.