-
Notifications
You must be signed in to change notification settings - Fork 532
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
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1974 +/- ##
=========================================
Coverage ? 72.26%
=========================================
Files ? 1087
Lines ? 55483
Branches ? 7987
=========================================
Hits ? 40096
Misses ? 14122
Partials ? 1265
Continue to review full report at Codecov.
|
nipype/interfaces/afni/preprocess.py
Outdated
|
||
|
||
class Qwarp(CommandLine): | ||
_cmd = '3dQwarp -prefix Qwarp.nii.gz' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description, example
nipype/interfaces/afni/preprocess.py
Outdated
_cmd = '3dQwarp -prefix Qwarp.nii.gz' | ||
input_spec = QwarpInputSpec | ||
output_spec = QwarpOutputSpec | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
references
nipype/interfaces/afni/preprocess.py
Outdated
|
||
def _list_outputs(self): | ||
outputs = self.output_spec().get() | ||
outputs['warped_source'] = os.path.abspath("Qwarp_PLUS.nii.gz") |
There was a problem hiding this comment.
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
nipype/interfaces/afni/preprocess.py
Outdated
|
||
class QwarpInputSpec(CommandLineInputSpec): | ||
source_file = File( | ||
desc='', |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add references
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done (see above)
There was a problem hiding this 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.
nipype/interfaces/afni/preprocess.py
Outdated
desc='Undistorted source file.', | ||
exists=True) | ||
warped_base = File( | ||
desc='Undistorted source file.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undistored base file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very useful!
No description provided.