Skip to content

Adding 3dQwarpPlusMinus Interface #1974

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 29, 2017
Merged

Conversation

chrisgorgo
Copy link
Member

No description provided.

@codecov-io
Copy link

Codecov Report

Merging #1974 into master will increase coverage by <.01%.
The diff coverage is 76.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1974      +/-   ##
==========================================
+ Coverage   72.63%   72.63%   +<.01%     
==========================================
  Files        1070     1070              
  Lines       54407    54433      +26     
  Branches     7857     7857              
==========================================
+ Hits        39517    39537      +20     
- Misses      13659    13665       +6     
  Partials     1231     1231
Flag Coverage Δ
#smoketests 72.63% <76.92%> (ø) ⬆️
#unittests 70.19% <76.92%> (ø) ⬆️
Impacted Files Coverage Δ
nipype/interfaces/afni/__init__.py 100% <ø> (ø) ⬆️
nipype/interfaces/afni/preprocess.py 85.66% <76.92%> (-0.4%) ⬇️

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 ccd0527...a64071b. Read the comment docs.

1 similar comment
@codecov-io
Copy link

Codecov Report

Merging #1974 into master will increase coverage by <.01%.
The diff coverage is 76.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1974      +/-   ##
==========================================
+ Coverage   72.63%   72.63%   +<.01%     
==========================================
  Files        1070     1070              
  Lines       54407    54433      +26     
  Branches     7857     7857              
==========================================
+ Hits        39517    39537      +20     
- Misses      13659    13665       +6     
  Partials     1231     1231
Flag Coverage Δ
#smoketests 72.63% <76.92%> (ø) ⬆️
#unittests 70.19% <76.92%> (ø) ⬆️
Impacted Files Coverage Δ
nipype/interfaces/afni/__init__.py 100% <ø> (ø) ⬆️
nipype/interfaces/afni/preprocess.py 85.66% <76.92%> (-0.4%) ⬇️

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 ccd0527...a64071b. Read the comment docs.

@codecov-io
Copy link

codecov-io commented Apr 27, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@048413e). Click here to learn what that means.
The diff coverage is 75%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1974   +/-   ##
=========================================
  Coverage          ?   72.26%           
=========================================
  Files             ?     1087           
  Lines             ?    55483           
  Branches          ?     7987           
=========================================
  Hits              ?    40096           
  Misses            ?    14122           
  Partials          ?     1265
Flag Coverage Δ
#smoketests 72.26% <75%> (?)
#unittests 69.86% <75%> (?)
Impacted Files Coverage Δ
nipype/interfaces/afni/__init__.py 100% <ø> (ø)
nipype/interfaces/afni/preprocess.py 85.61% <75%> (ø)

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 048413e...b823356. Read the comment docs.

@chrisgorgo chrisgorgo changed the title [WIP] adding 3dQwarp Interface Adding 3dQwarpPlusMinus Interface Apr 27, 2017


class Qwarp(CommandLine):
_cmd = '3dQwarp -prefix Qwarp.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.

description, example

_cmd = '3dQwarp -prefix Qwarp.nii.gz'
input_spec = QwarpInputSpec
output_spec = QwarpOutputSpec

Copy link
Member

Choose a reason for hiding this comment

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

references


def _list_outputs(self):
outputs = self.output_spec().get()
outputs['warped_source'] = os.path.abspath("Qwarp_PLUS.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.

could these be listed with name_template in outputs


class QwarpInputSpec(CommandLineInputSpec):
source_file = File(
desc='',
Copy link
Member

Choose a reason for hiding this comment

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

missing descriptions

"""
_cmd = '3dQwarp -prefix Qwarp.nii.gz -plusminus'
input_spec = QwarpPlusMinusInputSpec
output_spec = QwarpPlusMinusOutputSpec
Copy link
Member

Choose a reason for hiding this comment

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

add references

Copy link
Member Author

Choose a reason for hiding this comment

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

done (see above)

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.

Looks reasonable. Possible text fix.

desc='Undistorted source file.',
exists=True)
warped_base = File(
desc='Undistorted source file.',
Copy link
Member

Choose a reason for hiding this comment

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

Undistored base file?

Copy link
Contributor

@oesteban oesteban left a comment

Choose a reason for hiding this comment

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

Very useful!

@chrisgorgo chrisgorgo merged commit c26b3de into nipy:master Apr 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants