Skip to content
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

Fix warp t1 #232

Merged
merged 2 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion macapype/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__ = '0.3.4'
__version__ = '0.3.4.2'
3 changes: 0 additions & 3 deletions macapype/pipelines/full_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,6 @@ def create_full_spm_subpipes(
old_segment_pipe = create_native_old_segment_pipe(
params_template, params=parse_key(params, "old_segment_pipe"))

seg_pipe.connect(reg, 'warp_file',
old_segment_pipe, 'inputnode.T1')

seg_pipe.connect(reg, 'inv_transfo_file',
old_segment_pipe, 'inputnode.inv_transfo_file')

Expand Down
4 changes: 2 additions & 2 deletions macapype/pipelines/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ def create_native_old_segment_pipe(params_template, params={},
# Creating inputnode
inputnode = pe.Node(
niu.IdentityInterface(
fields=['T1', 'indiv_params', "native_T1", "inv_transfo_file"]),
fields=['indiv_params', "native_T1", "inv_transfo_file"]),
name='inputnode'
)

Expand Down Expand Up @@ -769,7 +769,7 @@ def create_native_old_segment_pipe(params_template, params={},
function=gunzip),
name="unzip")

seg_pipe.connect(inputnode, 'T1', unzip, 'zipped_file')
seg_pipe.connect(inputnode, 'native_T1', unzip, 'zipped_file')

# merge_tissue_files
merge_tissue_files = pe.Node(
Expand Down
Loading