Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[ENH]: Add CAT12 SANLM denoising filter #3374

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 25 commits into from
Oct 18, 2021
Merged
Changes from 3 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions 11 nipype/interfaces/cat12/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ class CAT12SANLMDenoising(SPMCommand):
--------
>>> from nipype.interfaces import cat12
>>> c = cat12.CAT12SANLMDenoising()
>>> c.inputs.in_files='sub-test_FLAIR.nii'
>>> c.inputs.in_files='anatomical.nii'
>>> c.run()
"""

Expand All @@ -719,11 +719,10 @@ def _format_arg(self, opt, spec, val):

def _list_outputs(self):
outputs = self._outputs().get()
pth, base, ext = split_filename(self.inputs.in_files[0])
outputs['out_file'] = os.path.join(os.getcwd(), self.inputs.filename_prefix +
base +
self.inputs.filename_suffix +
ext)
outputs['out_file'] = fname_presuffix(self.inputs.in_files[0],
newpath=os.getcwd(),
prefix=self.inputs.filename_prefix,
suffix=self.inputs.filename_suffix)
return outputs


Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.