Skip to content

Commit

Permalink
Fix mask reorder connect.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed Apr 20, 2017
1 parent 1b60bbe commit 2c354ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qipipe/pipeline/roi.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from nipype.interfaces.utility import (IdentityInterface, Function)
import qiutil
from ..helpers.logging import logger
from ..interfaces import (ConvertBoleroMask, XNATUpload)
from ..interfaces import (ConvertBoleroMask, ReorderBoleroMask, XNATUpload)
from .workflow_base import WorkflowBase
from .pipeline_error import PipelineError

Expand Down Expand Up @@ -199,7 +199,7 @@ def _create_workflow(self, **opts):

# Reorder the mask slice.
reorder = pe.Node(ReorderBoleroMask(), name='reorder')
exec_wf.connect(convert, 'out_file', convert, 'in_file')
exec_wf.connect(convert, 'out_file', reorder, 'in_file')

# Merge the slices.
merge = pe.JoinNode(MergeNifti(), joinsource='iter_slice',
Expand Down

0 comments on commit 2c354ed

Please sign in to comment.