macapype.nodes.register.NMTSubjectAlign¶
- class macapype.nodes.register.NMTSubjectAlign(command=None, terminal_output=None, **inputs)[source]¶
Description: Align NMT subject to template (NMT 1.2)
Inputs:
Mandatory:
- T1_file:
File, ‘Target file’
- NMT_SS_file:
File, ‘Align to T1’
Outputs:
- aff_file:
File, “aff”
- warp_file:
File, “shft_WARP”
- warpinv_file:
File, “shft_WARPINV”
- transfo_file:
File, “composite_linear_to_NMT”
- inv_transfo_file:
File, “_composite_linear_to_NMT_inv”
- Attributes
always_run
Should the interface be always run even if the inputs were not changed? Only applies to interfaces being run within a workflow context.
can_resume
Defines if the interface can reuse partial results after interruption.
cmd
sets base command, immutable
cmdline
command plus any arguments (args)
- terminal_output
version
interfaces should implement a version property
Methods
aggregate_outputs
([runtime, needed_outputs])Collate expected outputs and apply output traits validation.
help
([returnhelp])Prints class help
input_spec
alias of
macapype.nodes.register.NMTSubjectAlignInputSpec
load_inputs_from_json
(json_file[, overwrite])A convenient way to load pre-set inputs from a JSON file.
output_spec
alias of
macapype.nodes.register.NMTSubjectAlignOutputSpec
run
([cwd, ignore_exception])Execute this interface.
save_inputs_to_json
(json_file)A convenient way to save current inputs to a JSON file.
set_default_terminal_output
(output_type)Set the default terminal output for CommandLine Interfaces.
raise_exception
version_from_command
- __init__(command=None, terminal_output=None, **inputs)¶
Subclasses must implement __init__
Methods
__init__
([command, terminal_output])Subclasses must implement __init__
aggregate_outputs
([runtime, needed_outputs])Collate expected outputs and apply output traits validation.
help
([returnhelp])Prints class help
load_inputs_from_json
(json_file[, overwrite])A convenient way to load pre-set inputs from a JSON file.
raise_exception
(runtime)run
([cwd, ignore_exception])Execute this interface.
save_inputs_to_json
(json_file)A convenient way to save current inputs to a JSON file.
set_default_terminal_output
(output_type)Set the default terminal output for CommandLine Interfaces.
version_from_command
([flag, cmd])Attributes
always_run
Should the interface be always run even if the inputs were not changed? Only applies to interfaces being run within a workflow context.
can_resume
Defines if the interface can reuse partial results after interruption.
cmd
sets base command, immutable
cmdline
command plus any arguments (args) validates arguments and generates command line
package_directory
references_
resource_monitor
terminal_output
version
interfaces should implement a version property