Skip to content

Commit

Permalink
Rename the _gen_crop_op_string function to _gen_crop_option_string.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed May 22, 2017
1 parent b38991f commit 3862052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qipipe/pipeline/mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def _create_workflow(self, **opts):
# mean image.
crop_back = pe.Node(fsl.ImageMaths(), name='crop_back')
workflow.connect(mean, 'out_file', crop_back, 'in_file')
workflow.connect(cog, ('out_stat', _gen_crop_op_string),
workflow.connect(cog, ('out_stat', _gen_crop_option_string),
crop_back, 'op_string')
workflow.connect(crop_back, 'out_file', cluster_mask, 'in_file')
else:
Expand Down Expand Up @@ -197,7 +197,7 @@ def _create_workflow(self, **opts):
return workflow


def _gen_crop_op_string(cog):
def _gen_crop_option_string(cog):
"""
:param cog: the center of gravity
:return: the crop -roi option
Expand Down

0 comments on commit 3862052

Please sign in to comment.