generated from nipype/pydra-tasks-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from nipype/latest-nipype-conv
Set up nipype2pydra converter templates
- Loading branch information
Showing
86 changed files
with
6,904 additions
and
1,442 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
"""Module to put any functions that are referred to in AffineInitializer.yaml""" | ||
"""Module to put any functions that are referred to in the "callables" section of AffineInitializer.yaml""" | ||
|
||
import os | ||
|
||
|
||
def out_file_callable(output_dir, inputs, stdout, stderr): | ||
outputs = _list_outputs( | ||
output_dir=output_dir, inputs=inputs, stdout=stdout, stderr=stderr | ||
) | ||
return outputs["out_file"] | ||
|
||
|
||
# Original source at L885 of <nipype-install>/interfaces/base/core.py | ||
def _gen_filename(name, inputs=None, stdout=None, stderr=None, output_dir=None): | ||
raise NotImplementedError | ||
|
||
|
||
# Original source at L834 of <nipype-install>/interfaces/ants/utils.py | ||
def _list_outputs(inputs=None, stdout=None, stderr=None, output_dir=None): | ||
return {"out_file": os.path.abspath(inputs.out_file)} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
"""Module to put any functions that are referred to in AI.yaml""" | ||
"""Module to put any functions that are referred to in the "callables" section of AI.yaml""" | ||
|
||
|
||
def output_transform_callable(output_dir, inputs, stdout, stderr): | ||
outputs = _list_outputs( | ||
output_dir=output_dir, inputs=inputs, stdout=stdout, stderr=stderr | ||
) | ||
return outputs["output_transform"] | ||
|
||
|
||
# Original source at L885 of <nipype-install>/interfaces/base/core.py | ||
def _gen_filename(name, inputs=None, stdout=None, stderr=None, output_dir=None): | ||
raise NotImplementedError | ||
|
||
|
||
# Original source at L539 of <nipype-install>/interfaces/ants/utils.py | ||
def _list_outputs(inputs=None, stdout=None, stderr=None, output_dir=None): | ||
return getattr(self, "_output") |
Oops, something went wrong.