Skip to content

Conversation

mgxd
Copy link
Member

@mgxd mgxd commented Aug 6, 2018

Summary

Fixes nipreps/fmriprep#1236 .

List of changes proposed in this PR (pull-request)

As discussed in nipreps/fmriprep#1235 (comment), this PR strips down "helper interfaces" _cmd to only the executable, and adds the necessary arguments as defaults in the inputspec.

Acknowledgment

  • (Mandatory) I acknowledge that this contribution will be available under the Apache 2 license.

outputs['warped_source'] = os.path.abspath("Qwarp_PLUS.nii.gz")
outputs['warped_base'] = os.path.abspath("Qwarp_MINUS.nii.gz")
outputs['source_warp'] = os.path.abspath("Qwarp_PLUS_WARP.nii.gz")
outputs['base_warp'] = os.path.abspath("Qwarp_MINUS_WARP.nii.gz")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would drop _list_outputs. This should be handled by Qwarp._list_outputs() and correctly handle non-default out_file selections.

@codecov-io
Copy link

codecov-io commented Aug 6, 2018

Codecov Report

Merging #2674 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2674      +/-   ##
==========================================
+ Coverage   67.61%   67.64%   +0.02%     
==========================================
  Files         340      340              
  Lines       43076    43060      -16     
  Branches     5333     5333              
==========================================
- Hits        29127    29126       -1     
+ Misses      13246    13232      -14     
+ Partials      703      702       -1
Flag Coverage Δ
#smoketests 50.55% <ø> (ø) ⬆️
#unittests 65.1% <100%> (+0.03%) ⬆️
Impacted Files Coverage Δ
nipype/interfaces/afni/preprocess.py 81.49% <100%> (+0.3%) ⬆️
nipype/interfaces/elastix/registration.py 53.09% <100%> (+0.84%) ⬆️
nipype/pipeline/plugins/legacymultiproc.py 61.3% <0%> (+5.35%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 91fbcce...b1007ef. Read the comment docs.

Copy link
Member

@effigies effigies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Minor comment.

argstr='-source %s',
mandatory=True,
exists=True,
copyfile=False)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as in superclass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants