Skip to content

Commit

Permalink
added rigid_flag (#276)
Browse files Browse the repository at this point in the history
* added rigid_flag

* remove pre_crop and crop
  • Loading branch information
davidmeunier79 authored Dec 12, 2024
1 parent 51eab60 commit e58ce81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
17 changes: 1 addition & 16 deletions examples_doc/params_general_preparation.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,7 @@

"crop_aladin_pipe":
{
"pre_crop_z_T1":
{

"comment": "OPTIONAL",
"comment": "use with caution",
"params": "RobustFOV (FSL)",

"brainsize": "70"
},
"remove_capsule_pipe":{},
"reg_T1_on_template":
{
"params": "RegAladin (NiftyReg)"
Expand All @@ -80,13 +72,6 @@

"params": "RegAladin (NiftyReg)"

},
"crop_z_T1":
{
"comment": "OPTIONAL",
"params": "RobustFOV (FSL)",

"brainsize": "70"
}
},

Expand Down
1 change: 1 addition & 0 deletions macapype/pipelines/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ def create_short_preparation_pipe(params, params_template={},
if 'aladin_T2_on_T1' in params.keys():

align_T2_on_T1 = pe.Node(reg.RegAladin(), name="align_T2_on_T1")
align_T2_on_T1.inputs.rig_only_flag = True

if "avg_reorient_pipe" in params.keys():
data_preparation_pipe.connect(av_T1, 'outputnode.std_img',
Expand Down

0 comments on commit e58ce81

Please sign in to comment.