niwrap-freesurfer 0.5.1__py3-none-any.whl → 0.5.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of niwrap-freesurfer might be problematic. Click here for more details.
- niwrap_freesurfer/freesurfer/__init__.py +0 -11
- niwrap_freesurfer/freesurfer/annot2std.py +32 -1
- niwrap_freesurfer/freesurfer/aparc2feat.py +19 -1
- niwrap_freesurfer/freesurfer/bbregister.py +143 -4
- niwrap_freesurfer/freesurfer/bmedits2surf.py +2 -2
- niwrap_freesurfer/freesurfer/compute_interrater_variability_csh.py +20 -2
- niwrap_freesurfer/freesurfer/compute_label_volumes_csh.py +17 -2
- niwrap_freesurfer/freesurfer/conf2hires.py +59 -1
- niwrap_freesurfer/freesurfer/connected_components.py +34 -2
- niwrap_freesurfer/freesurfer/dcmdir_info_mgh.py +3 -2
- niwrap_freesurfer/freesurfer/dcmdjpeg_fs.py +2 -2
- niwrap_freesurfer/freesurfer/dcmdrle_fs.py +2 -2
- niwrap_freesurfer/freesurfer/dicom_rename.py +21 -2
- niwrap_freesurfer/freesurfer/dmri_bset.py +14 -2
- niwrap_freesurfer/freesurfer/dmri_forrest.py +10 -1
- niwrap_freesurfer/freesurfer/dmri_mergepaths.py +2 -2
- niwrap_freesurfer/freesurfer/dmri_pathstats.py +2 -2
- niwrap_freesurfer/freesurfer/dmri_stats_ac.py +1 -3
- niwrap_freesurfer/freesurfer/exvivo_hemi_proc.py +10 -1
- niwrap_freesurfer/freesurfer/fiducials_calibration.py +15 -1
- niwrap_freesurfer/freesurfer/fiducials_correction.py +10 -3
- niwrap_freesurfer/freesurfer/fix_subject_corrected_rh.py +3 -2
- niwrap_freesurfer/freesurfer/fix_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/fs_check_version.py +19 -1
- niwrap_freesurfer/freesurfer/fs_spmreg_glnxa64.py +19 -4
- niwrap_freesurfer/freesurfer/fs_temp_file.py +36 -1
- niwrap_freesurfer/freesurfer/fs_update.py +19 -1
- niwrap_freesurfer/freesurfer/fsl_sub_mgh.py +1 -2
- niwrap_freesurfer/freesurfer/fsr_import.py +55 -5
- niwrap_freesurfer/freesurfer/fvcompare.py +10 -1
- niwrap_freesurfer/freesurfer/gca_apply.py +3 -2
- niwrap_freesurfer/freesurfer/gdcmconv_fs.py +2 -2
- niwrap_freesurfer/freesurfer/get_label_thickness.py +1 -2
- niwrap_freesurfer/freesurfer/groupstats.py +97 -1
- niwrap_freesurfer/freesurfer/groupstatsdiff.py +4 -4
- niwrap_freesurfer/freesurfer/hiam_make_surfaces.py +1 -2
- niwrap_freesurfer/freesurfer/histo_synthesize.py +1 -2
- niwrap_freesurfer/freesurfer/inflate_subject_lh.py +3 -2
- niwrap_freesurfer/freesurfer/inflate_subject_new_lh.py +3 -3
- niwrap_freesurfer/freesurfer/inflate_subject_new_rh.py +3 -2
- niwrap_freesurfer/freesurfer/inflate_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/inflate_subject_sc.py +28 -3
- niwrap_freesurfer/freesurfer/irepifitvol_glnx64.py +2 -2
- niwrap_freesurfer/freesurfer/is_surface.py +3 -2
- niwrap_freesurfer/freesurfer/isolate_labels_csh.py +17 -2
- niwrap_freesurfer/freesurfer/label_subject_flash.py +2 -2
- niwrap_freesurfer/freesurfer/label_subject_mixed.py +2 -2
- niwrap_freesurfer/freesurfer/listsubj.py +82 -2
- niwrap_freesurfer/freesurfer/long_stats_combine.py +1 -2
- niwrap_freesurfer/freesurfer/long_stats_tps.py +7 -7
- niwrap_freesurfer/freesurfer/long_submit_jobs.py +1 -5
- niwrap_freesurfer/freesurfer/longmc.py +10 -1
- niwrap_freesurfer/freesurfer/lta_convert.py +157 -1
- niwrap_freesurfer/freesurfer/make_average_volume.py +19 -1
- niwrap_freesurfer/freesurfer/make_folding_atlas.py +10 -1
- niwrap_freesurfer/freesurfer/map_all_labels_lh.py +11 -3
- niwrap_freesurfer/freesurfer/map_central_sulcus.py +2 -2
- niwrap_freesurfer/freesurfer/merge_stats_tables.py +58 -35
- niwrap_freesurfer/freesurfer/mideface.py +121 -14
- niwrap_freesurfer/freesurfer/mni152reg.py +2 -2
- niwrap_freesurfer/freesurfer/morph_only_subject_lh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_only_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_rgb_lh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_rgb_rh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_subject_lh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_tables_lh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_tables_rh.py +3 -2
- niwrap_freesurfer/freesurfer/mri_aparc2aseg.py +10 -1
- niwrap_freesurfer/freesurfer/mri_apply_bias.py +1 -2
- niwrap_freesurfer/freesurfer/mri_average.py +10 -1
- niwrap_freesurfer/freesurfer/mri_brain_volume.py +23 -2
- niwrap_freesurfer/freesurfer/mri_ca_label.py +603 -2
- niwrap_freesurfer/freesurfer/mri_ca_train.py +10 -1
- niwrap_freesurfer/freesurfer/mri_convert.py +188 -2
- niwrap_freesurfer/freesurfer/mri_fuse_segmentations.py +10 -3
- niwrap_freesurfer/freesurfer/mri_gcab_train.py +15 -1
- niwrap_freesurfer/freesurfer/mri_gdfglm.py +13 -1
- niwrap_freesurfer/freesurfer/mri_gtmpvc.py +19 -1
- niwrap_freesurfer/freesurfer/mri_hausdorff_dist.py +1 -2
- niwrap_freesurfer/freesurfer/mri_head.py +19 -1
- niwrap_freesurfer/freesurfer/mri_jacobian.py +10 -1
- niwrap_freesurfer/freesurfer/mri_nl_align.py +27 -1
- niwrap_freesurfer/freesurfer/mri_relabel_nonwm_hypos.py +3 -3
- niwrap_freesurfer/freesurfer/mri_reorient_lr_csh.py +2 -2
- niwrap_freesurfer/freesurfer/mri_seg_diff.py +14 -1
- niwrap_freesurfer/freesurfer/mri_twoclass.py +1 -2
- niwrap_freesurfer/freesurfer/mri_validate_skull_stripped.py +2 -2
- niwrap_freesurfer/freesurfer/mri_warp_convert.py +131 -1
- niwrap_freesurfer/freesurfer/mri_z2p.py +37 -1
- niwrap_freesurfer/freesurfer/mris_add_template.py +11 -1
- niwrap_freesurfer/freesurfer/mris_apply_reg.py +1 -2
- niwrap_freesurfer/freesurfer/mris_curvature_stats.py +419 -7
- niwrap_freesurfer/freesurfer/mris_diff.py +255 -1
- niwrap_freesurfer/freesurfer/mris_distance_map.py +1 -2
- niwrap_freesurfer/freesurfer/mris_errors.py +1 -2
- niwrap_freesurfer/freesurfer/mris_info.py +45 -46
- niwrap_freesurfer/freesurfer/mris_label_calc.py +14 -1
- niwrap_freesurfer/freesurfer/mris_map_cuts.py +1 -2
- niwrap_freesurfer/freesurfer/mris_nudge.py +1 -2
- niwrap_freesurfer/freesurfer/mris_place_surface.py +1 -2
- niwrap_freesurfer/freesurfer/mris_preproc.py +16 -2
- niwrap_freesurfer/freesurfer/mris_spherical_average.py +93 -8
- niwrap_freesurfer/freesurfer/mris_thickness_diff.py +1 -5
- niwrap_freesurfer/freesurfer/mris_volmask_vtk.py +2 -2
- niwrap_freesurfer/freesurfer/pctsurfcon.py +2 -2
- niwrap_freesurfer/freesurfer/plot_structure_stats_tcl.py +2 -2
- niwrap_freesurfer/freesurfer/post_recon_all.py +39 -2
- niwrap_freesurfer/freesurfer/predict_v1_sh.py +11 -2
- niwrap_freesurfer/freesurfer/print_unique_labels_csh.py +34 -3
- niwrap_freesurfer/freesurfer/rbbr.py +37 -1
- niwrap_freesurfer/freesurfer/rca_base_init.py +3 -2
- niwrap_freesurfer/freesurfer/rca_config.py +3 -2
- niwrap_freesurfer/freesurfer/rca_config2csh.py +3 -2
- niwrap_freesurfer/freesurfer/recon_all.py +75 -1
- niwrap_freesurfer/freesurfer/register_elderly_subject.py +2 -2
- niwrap_freesurfer/freesurfer/reinflate_subject_lh.py +3 -2
- niwrap_freesurfer/freesurfer/reinflate_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/renormalize_subject_keep_editting.py +13 -1
- niwrap_freesurfer/freesurfer/rtview.py +34 -1
- niwrap_freesurfer/freesurfer/run_qdec_glm.py +3 -2
- niwrap_freesurfer/freesurfer/samseg.py +14 -1
- niwrap_freesurfer/freesurfer/samseg_long.py +17 -8
- niwrap_freesurfer/freesurfer/samsegmesh2surf.py +5 -7
- niwrap_freesurfer/freesurfer/seg2filled.py +4 -4
- niwrap_freesurfer/freesurfer/segment_subject.py +2 -2
- niwrap_freesurfer/freesurfer/segment_subject_old_skull_strip.py +4 -4
- niwrap_freesurfer/freesurfer/segment_subject_sc.py +4 -4
- niwrap_freesurfer/freesurfer/segment_subject_t2_auto_estimate_alveus_ml.py +11 -1
- niwrap_freesurfer/freesurfer/segpons.py +2 -2
- niwrap_freesurfer/freesurfer/sphere_subject_lh.py +3 -2
- niwrap_freesurfer/freesurfer/sphere_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/talairach.py +4 -4
- niwrap_freesurfer/freesurfer/trac_all.py +283 -1
- niwrap_freesurfer/freesurfer/train_gcs_atlas.py +19 -1
- niwrap_freesurfer/freesurfer/update_needed.py +13 -2
- niwrap_freesurfer/freesurfer/vertexvol.py +19 -1
- niwrap_freesurfer/freesurfer/vol2subfield.py +72 -1
- niwrap_freesurfer/freesurfer/wmsaseg.py +2 -2
- {niwrap_freesurfer-0.5.1.dist-info → niwrap_freesurfer-0.5.3.dist-info}/METADATA +1 -1
- {niwrap_freesurfer-0.5.1.dist-info → niwrap_freesurfer-0.5.3.dist-info}/RECORD +142 -153
- niwrap_freesurfer/freesurfer/bet_fsl.py +0 -441
- niwrap_freesurfer/freesurfer/epidewarp_fsl.py +0 -439
- niwrap_freesurfer/freesurfer/flirt_fsl.py +0 -604
- niwrap_freesurfer/freesurfer/fscalc_fsl.py +0 -196
- niwrap_freesurfer/freesurfer/fsfirst_fsl.py +0 -166
- niwrap_freesurfer/freesurfer/fslmaths_fsl.py +0 -196
- niwrap_freesurfer/freesurfer/fslorient_fsl.py +0 -207
- niwrap_freesurfer/freesurfer/fslswapdim_fsl.py +0 -216
- niwrap_freesurfer/freesurfer/fspython.py +0 -175
- niwrap_freesurfer/freesurfer/mri_motion_correct_fsl.py +0 -185
- niwrap_freesurfer/freesurfer/slicetimer_fsl.py +0 -291
- {niwrap_freesurfer-0.5.1.dist-info → niwrap_freesurfer-0.5.3.dist-info}/WHEEL +0 -0
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_CA_TRAIN_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="b0a0862d8bce51400e3699e4c44a4499c82a6c8a.boutiques",
|
|
10
10
|
name="mri_ca_train",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -23,6 +23,7 @@ MriCaTrainParameters = typing.TypedDict('MriCaTrainParameters', {
|
|
|
23
23
|
"node_spacing": typing.NotRequired[str | None],
|
|
24
24
|
"prior_spacing": typing.NotRequired[str | None],
|
|
25
25
|
"input_training": typing.NotRequired[list[str] | None],
|
|
26
|
+
"symmetrize": bool,
|
|
26
27
|
"makesym": typing.NotRequired[list[str] | None],
|
|
27
28
|
"check_symmetry": typing.NotRequired[list[str] | None],
|
|
28
29
|
"sanity_check": bool,
|
|
@@ -79,6 +80,7 @@ def mri_ca_train_params(
|
|
|
79
80
|
node_spacing: str | None = None,
|
|
80
81
|
prior_spacing: str | None = None,
|
|
81
82
|
input_training: list[str] | None = None,
|
|
83
|
+
symmetrize: bool = False,
|
|
82
84
|
makesym: list[str] | None = None,
|
|
83
85
|
check_symmetry: list[str] | None = None,
|
|
84
86
|
sanity_check: bool = False,
|
|
@@ -102,6 +104,7 @@ def mri_ca_train_params(
|
|
|
102
104
|
prior_spacing: Spacing of class priors in canonical space.
|
|
103
105
|
input_training: Specifying training data, path relative to each\
|
|
104
106
|
subject's MRI directory. Can specify multiple inputs.
|
|
107
|
+
symmetrize: Symmetrize the atlas after creation.
|
|
105
108
|
makesym: Symmetrize an already existing atlas. Specify input GCA and\
|
|
106
109
|
symmetrized GCA.
|
|
107
110
|
check_symmetry: Check the symmetry of an already existing atlas.\
|
|
@@ -117,6 +120,7 @@ def mri_ca_train_params(
|
|
|
117
120
|
"subjects": subjects,
|
|
118
121
|
"output_gca": output_gca,
|
|
119
122
|
"segmentation": segmentation,
|
|
123
|
+
"symmetrize": symmetrize,
|
|
120
124
|
"sanity_check": sanity_check,
|
|
121
125
|
}
|
|
122
126
|
if transform is not None:
|
|
@@ -186,6 +190,8 @@ def mri_ca_train_cargs(
|
|
|
186
190
|
"-input",
|
|
187
191
|
*params.get("input_training")
|
|
188
192
|
])
|
|
193
|
+
if params.get("symmetrize"):
|
|
194
|
+
cargs.append("-sym")
|
|
189
195
|
if params.get("makesym") is not None:
|
|
190
196
|
cargs.extend([
|
|
191
197
|
"-makesym",
|
|
@@ -264,6 +270,7 @@ def mri_ca_train(
|
|
|
264
270
|
node_spacing: str | None = None,
|
|
265
271
|
prior_spacing: str | None = None,
|
|
266
272
|
input_training: list[str] | None = None,
|
|
273
|
+
symmetrize: bool = False,
|
|
267
274
|
makesym: list[str] | None = None,
|
|
268
275
|
check_symmetry: list[str] | None = None,
|
|
269
276
|
sanity_check: bool = False,
|
|
@@ -293,6 +300,7 @@ def mri_ca_train(
|
|
|
293
300
|
prior_spacing: Spacing of class priors in canonical space.
|
|
294
301
|
input_training: Specifying training data, path relative to each\
|
|
295
302
|
subject's MRI directory. Can specify multiple inputs.
|
|
303
|
+
symmetrize: Symmetrize the atlas after creation.
|
|
296
304
|
makesym: Symmetrize an already existing atlas. Specify input GCA and\
|
|
297
305
|
symmetrized GCA.
|
|
298
306
|
check_symmetry: Check the symmetry of an already existing atlas.\
|
|
@@ -315,6 +323,7 @@ def mri_ca_train(
|
|
|
315
323
|
node_spacing=node_spacing,
|
|
316
324
|
prior_spacing=prior_spacing,
|
|
317
325
|
input_training=input_training,
|
|
326
|
+
symmetrize=symmetrize,
|
|
318
327
|
makesym=makesym,
|
|
319
328
|
check_symmetry=check_symmetry,
|
|
320
329
|
sanity_check=sanity_check,
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_CONVERT_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="2815806c64bc2ae2d1911e8294a65422695fdb8a.boutiques",
|
|
10
10
|
name="mri_convert",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -17,6 +17,23 @@ MriConvertParameters = typing.TypedDict('MriConvertParameters', {
|
|
|
17
17
|
"__STYX_TYPE__": typing.Literal["mri_convert"],
|
|
18
18
|
"inp_volume": InputPathType,
|
|
19
19
|
"out_volume": str,
|
|
20
|
+
"read_only": bool,
|
|
21
|
+
"no_write": bool,
|
|
22
|
+
"in_info": bool,
|
|
23
|
+
"out_info": bool,
|
|
24
|
+
"in_stats": bool,
|
|
25
|
+
"out_stats": bool,
|
|
26
|
+
"upsample": typing.NotRequired[float | None],
|
|
27
|
+
"force_ras_good": bool,
|
|
28
|
+
"apply_transform": typing.NotRequired[InputPathType | None],
|
|
29
|
+
"apply_inverse_transform": typing.NotRequired[InputPathType | None],
|
|
30
|
+
"in_type": typing.NotRequired[str | None],
|
|
31
|
+
"out_type": typing.NotRequired[str | None],
|
|
32
|
+
"in_orientation": typing.NotRequired[str | None],
|
|
33
|
+
"out_orientation": typing.NotRequired[str | None],
|
|
34
|
+
"scale_factor": typing.NotRequired[float | None],
|
|
35
|
+
"bfile_little_endian": bool,
|
|
36
|
+
"sphinx": bool,
|
|
20
37
|
})
|
|
21
38
|
|
|
22
39
|
|
|
@@ -65,6 +82,23 @@ class MriConvertOutputs(typing.NamedTuple):
|
|
|
65
82
|
def mri_convert_params(
|
|
66
83
|
inp_volume: InputPathType,
|
|
67
84
|
out_volume: str,
|
|
85
|
+
read_only: bool = False,
|
|
86
|
+
no_write: bool = False,
|
|
87
|
+
in_info: bool = False,
|
|
88
|
+
out_info: bool = False,
|
|
89
|
+
in_stats: bool = False,
|
|
90
|
+
out_stats: bool = False,
|
|
91
|
+
upsample: float | None = None,
|
|
92
|
+
force_ras_good: bool = False,
|
|
93
|
+
apply_transform: InputPathType | None = None,
|
|
94
|
+
apply_inverse_transform: InputPathType | None = None,
|
|
95
|
+
in_type: str | None = None,
|
|
96
|
+
out_type: str | None = None,
|
|
97
|
+
in_orientation: str | None = None,
|
|
98
|
+
out_orientation: str | None = None,
|
|
99
|
+
scale_factor: float | None = None,
|
|
100
|
+
bfile_little_endian: bool = False,
|
|
101
|
+
sphinx: bool = False,
|
|
68
102
|
) -> MriConvertParameters:
|
|
69
103
|
"""
|
|
70
104
|
Build parameters.
|
|
@@ -72,6 +106,24 @@ def mri_convert_params(
|
|
|
72
106
|
Args:
|
|
73
107
|
inp_volume: The input volume file.
|
|
74
108
|
out_volume: The output volume file.
|
|
109
|
+
read_only: Open in read-only mode.
|
|
110
|
+
no_write: Do not write output.
|
|
111
|
+
in_info: Print input volume information.
|
|
112
|
+
out_info: Print output volume information.
|
|
113
|
+
in_stats: Print statistics on input volume.
|
|
114
|
+
out_stats: Print statistics on output volume.
|
|
115
|
+
upsample: Reduce voxel size by a factor in all dimensions.
|
|
116
|
+
force_ras_good: Use default when orientation info absent.
|
|
117
|
+
apply_transform: Apply transform given by xfm or m3z file.
|
|
118
|
+
apply_inverse_transform: Apply inverse of transform given by xfm or m3z\
|
|
119
|
+
file.
|
|
120
|
+
in_type: Specify input file type.
|
|
121
|
+
out_type: Specify output file type.
|
|
122
|
+
in_orientation: Specify input orientation.
|
|
123
|
+
out_orientation: Specify output orientation.
|
|
124
|
+
scale_factor: Input intensity scale factor.
|
|
125
|
+
bfile_little_endian: Write out bshort/bfloat files in little endian.
|
|
126
|
+
sphinx: Reorient to sphinx position.
|
|
75
127
|
Returns:
|
|
76
128
|
Parameter dictionary
|
|
77
129
|
"""
|
|
@@ -79,7 +131,32 @@ def mri_convert_params(
|
|
|
79
131
|
"__STYXTYPE__": "mri_convert",
|
|
80
132
|
"inp_volume": inp_volume,
|
|
81
133
|
"out_volume": out_volume,
|
|
134
|
+
"read_only": read_only,
|
|
135
|
+
"no_write": no_write,
|
|
136
|
+
"in_info": in_info,
|
|
137
|
+
"out_info": out_info,
|
|
138
|
+
"in_stats": in_stats,
|
|
139
|
+
"out_stats": out_stats,
|
|
140
|
+
"force_ras_good": force_ras_good,
|
|
141
|
+
"bfile_little_endian": bfile_little_endian,
|
|
142
|
+
"sphinx": sphinx,
|
|
82
143
|
}
|
|
144
|
+
if upsample is not None:
|
|
145
|
+
params["upsample"] = upsample
|
|
146
|
+
if apply_transform is not None:
|
|
147
|
+
params["apply_transform"] = apply_transform
|
|
148
|
+
if apply_inverse_transform is not None:
|
|
149
|
+
params["apply_inverse_transform"] = apply_inverse_transform
|
|
150
|
+
if in_type is not None:
|
|
151
|
+
params["in_type"] = in_type
|
|
152
|
+
if out_type is not None:
|
|
153
|
+
params["out_type"] = out_type
|
|
154
|
+
if in_orientation is not None:
|
|
155
|
+
params["in_orientation"] = in_orientation
|
|
156
|
+
if out_orientation is not None:
|
|
157
|
+
params["out_orientation"] = out_orientation
|
|
158
|
+
if scale_factor is not None:
|
|
159
|
+
params["scale_factor"] = scale_factor
|
|
83
160
|
return params
|
|
84
161
|
|
|
85
162
|
|
|
@@ -100,7 +177,64 @@ def mri_convert_cargs(
|
|
|
100
177
|
cargs.append("mri_convert")
|
|
101
178
|
cargs.append(execution.input_file(params.get("inp_volume")))
|
|
102
179
|
cargs.append(params.get("out_volume"))
|
|
103
|
-
|
|
180
|
+
if params.get("read_only"):
|
|
181
|
+
cargs.append("-ro")
|
|
182
|
+
if params.get("no_write"):
|
|
183
|
+
cargs.append("-nw")
|
|
184
|
+
if params.get("in_info"):
|
|
185
|
+
cargs.append("-ii")
|
|
186
|
+
if params.get("out_info"):
|
|
187
|
+
cargs.append("-oi")
|
|
188
|
+
if params.get("in_stats"):
|
|
189
|
+
cargs.append("-is")
|
|
190
|
+
if params.get("out_stats"):
|
|
191
|
+
cargs.append("-os")
|
|
192
|
+
if params.get("upsample") is not None:
|
|
193
|
+
cargs.extend([
|
|
194
|
+
"--upsample",
|
|
195
|
+
str(params.get("upsample"))
|
|
196
|
+
])
|
|
197
|
+
if params.get("force_ras_good"):
|
|
198
|
+
cargs.append("--force_ras_good")
|
|
199
|
+
if params.get("apply_transform") is not None:
|
|
200
|
+
cargs.extend([
|
|
201
|
+
"--apply_transform",
|
|
202
|
+
execution.input_file(params.get("apply_transform"))
|
|
203
|
+
])
|
|
204
|
+
if params.get("apply_inverse_transform") is not None:
|
|
205
|
+
cargs.extend([
|
|
206
|
+
"--apply_inverse_transform",
|
|
207
|
+
execution.input_file(params.get("apply_inverse_transform"))
|
|
208
|
+
])
|
|
209
|
+
if params.get("in_type") is not None:
|
|
210
|
+
cargs.extend([
|
|
211
|
+
"--in_type",
|
|
212
|
+
params.get("in_type")
|
|
213
|
+
])
|
|
214
|
+
if params.get("out_type") is not None:
|
|
215
|
+
cargs.extend([
|
|
216
|
+
"--out_type",
|
|
217
|
+
params.get("out_type")
|
|
218
|
+
])
|
|
219
|
+
if params.get("in_orientation") is not None:
|
|
220
|
+
cargs.extend([
|
|
221
|
+
"--in_orientation",
|
|
222
|
+
params.get("in_orientation")
|
|
223
|
+
])
|
|
224
|
+
if params.get("out_orientation") is not None:
|
|
225
|
+
cargs.extend([
|
|
226
|
+
"--out_orientation",
|
|
227
|
+
params.get("out_orientation")
|
|
228
|
+
])
|
|
229
|
+
if params.get("scale_factor") is not None:
|
|
230
|
+
cargs.extend([
|
|
231
|
+
"--scale",
|
|
232
|
+
str(params.get("scale_factor"))
|
|
233
|
+
])
|
|
234
|
+
if params.get("bfile_little_endian"):
|
|
235
|
+
cargs.append("--bfile-little-endian")
|
|
236
|
+
if params.get("sphinx"):
|
|
237
|
+
cargs.append("--sphinx")
|
|
104
238
|
return cargs
|
|
105
239
|
|
|
106
240
|
|
|
@@ -152,6 +286,23 @@ def mri_convert_execute(
|
|
|
152
286
|
def mri_convert(
|
|
153
287
|
inp_volume: InputPathType,
|
|
154
288
|
out_volume: str,
|
|
289
|
+
read_only: bool = False,
|
|
290
|
+
no_write: bool = False,
|
|
291
|
+
in_info: bool = False,
|
|
292
|
+
out_info: bool = False,
|
|
293
|
+
in_stats: bool = False,
|
|
294
|
+
out_stats: bool = False,
|
|
295
|
+
upsample: float | None = None,
|
|
296
|
+
force_ras_good: bool = False,
|
|
297
|
+
apply_transform: InputPathType | None = None,
|
|
298
|
+
apply_inverse_transform: InputPathType | None = None,
|
|
299
|
+
in_type: str | None = None,
|
|
300
|
+
out_type: str | None = None,
|
|
301
|
+
in_orientation: str | None = None,
|
|
302
|
+
out_orientation: str | None = None,
|
|
303
|
+
scale_factor: float | None = None,
|
|
304
|
+
bfile_little_endian: bool = False,
|
|
305
|
+
sphinx: bool = False,
|
|
155
306
|
runner: Runner | None = None,
|
|
156
307
|
) -> MriConvertOutputs:
|
|
157
308
|
"""
|
|
@@ -165,6 +316,24 @@ def mri_convert(
|
|
|
165
316
|
Args:
|
|
166
317
|
inp_volume: The input volume file.
|
|
167
318
|
out_volume: The output volume file.
|
|
319
|
+
read_only: Open in read-only mode.
|
|
320
|
+
no_write: Do not write output.
|
|
321
|
+
in_info: Print input volume information.
|
|
322
|
+
out_info: Print output volume information.
|
|
323
|
+
in_stats: Print statistics on input volume.
|
|
324
|
+
out_stats: Print statistics on output volume.
|
|
325
|
+
upsample: Reduce voxel size by a factor in all dimensions.
|
|
326
|
+
force_ras_good: Use default when orientation info absent.
|
|
327
|
+
apply_transform: Apply transform given by xfm or m3z file.
|
|
328
|
+
apply_inverse_transform: Apply inverse of transform given by xfm or m3z\
|
|
329
|
+
file.
|
|
330
|
+
in_type: Specify input file type.
|
|
331
|
+
out_type: Specify output file type.
|
|
332
|
+
in_orientation: Specify input orientation.
|
|
333
|
+
out_orientation: Specify output orientation.
|
|
334
|
+
scale_factor: Input intensity scale factor.
|
|
335
|
+
bfile_little_endian: Write out bshort/bfloat files in little endian.
|
|
336
|
+
sphinx: Reorient to sphinx position.
|
|
168
337
|
runner: Command runner.
|
|
169
338
|
Returns:
|
|
170
339
|
NamedTuple of outputs (described in `MriConvertOutputs`).
|
|
@@ -174,6 +343,23 @@ def mri_convert(
|
|
|
174
343
|
params = mri_convert_params(
|
|
175
344
|
inp_volume=inp_volume,
|
|
176
345
|
out_volume=out_volume,
|
|
346
|
+
read_only=read_only,
|
|
347
|
+
no_write=no_write,
|
|
348
|
+
in_info=in_info,
|
|
349
|
+
out_info=out_info,
|
|
350
|
+
in_stats=in_stats,
|
|
351
|
+
out_stats=out_stats,
|
|
352
|
+
upsample=upsample,
|
|
353
|
+
force_ras_good=force_ras_good,
|
|
354
|
+
apply_transform=apply_transform,
|
|
355
|
+
apply_inverse_transform=apply_inverse_transform,
|
|
356
|
+
in_type=in_type,
|
|
357
|
+
out_type=out_type,
|
|
358
|
+
in_orientation=in_orientation,
|
|
359
|
+
out_orientation=out_orientation,
|
|
360
|
+
scale_factor=scale_factor,
|
|
361
|
+
bfile_little_endian=bfile_little_endian,
|
|
362
|
+
sphinx=sphinx,
|
|
177
363
|
)
|
|
178
364
|
return mri_convert_execute(params, execution)
|
|
179
365
|
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_FUSE_SEGMENTATIONS_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="67b2cf4ce2e0dc86fa5a749705372f955d1fc276.boutiques",
|
|
10
10
|
name="mri_fuse_segmentations",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -21,6 +21,7 @@ MriFuseSegmentationsParameters = typing.TypedDict('MriFuseSegmentationsParameter
|
|
|
21
21
|
"transforms": typing.NotRequired[list[InputPathType] | None],
|
|
22
22
|
"sigma": typing.NotRequired[float | None],
|
|
23
23
|
"input_file": InputPathType,
|
|
24
|
+
"output_file": str,
|
|
24
25
|
})
|
|
25
26
|
|
|
26
27
|
|
|
@@ -71,6 +72,7 @@ def mri_fuse_segmentations_params(
|
|
|
71
72
|
nocc_asegs: list[InputPathType],
|
|
72
73
|
norm_volumes: list[InputPathType],
|
|
73
74
|
input_file: InputPathType,
|
|
75
|
+
output_file: str,
|
|
74
76
|
transforms: list[InputPathType] | None = None,
|
|
75
77
|
sigma: float | None = 3.0,
|
|
76
78
|
) -> MriFuseSegmentationsParameters:
|
|
@@ -83,6 +85,7 @@ def mri_fuse_segmentations_params(
|
|
|
83
85
|
per TP.
|
|
84
86
|
norm_volumes: Path to norm.mgz files, one per TP.
|
|
85
87
|
input_file: Input norm.mgz file.
|
|
88
|
+
output_file: Resulting fused segmentation as aseg.fused.mgz file.
|
|
86
89
|
transforms: Transform files from each TP to the input norm.mgz, can be\
|
|
87
90
|
LTA, M3Z or identity.nofile.
|
|
88
91
|
sigma: Cross-time sigma (default 3.0).
|
|
@@ -95,6 +98,7 @@ def mri_fuse_segmentations_params(
|
|
|
95
98
|
"nocc_asegs": nocc_asegs,
|
|
96
99
|
"norm_volumes": norm_volumes,
|
|
97
100
|
"input_file": input_file,
|
|
101
|
+
"output_file": output_file,
|
|
98
102
|
}
|
|
99
103
|
if transforms is not None:
|
|
100
104
|
params["transforms"] = transforms
|
|
@@ -141,7 +145,7 @@ def mri_fuse_segmentations_cargs(
|
|
|
141
145
|
str(params.get("sigma"))
|
|
142
146
|
])
|
|
143
147
|
cargs.append(execution.input_file(params.get("input_file")))
|
|
144
|
-
cargs.append("
|
|
148
|
+
cargs.append(params.get("output_file"))
|
|
145
149
|
return cargs
|
|
146
150
|
|
|
147
151
|
|
|
@@ -160,7 +164,7 @@ def mri_fuse_segmentations_outputs(
|
|
|
160
164
|
"""
|
|
161
165
|
ret = MriFuseSegmentationsOutputs(
|
|
162
166
|
root=execution.output_file("."),
|
|
163
|
-
output_file=execution.output_file("
|
|
167
|
+
output_file=execution.output_file(params.get("output_file")),
|
|
164
168
|
)
|
|
165
169
|
return ret
|
|
166
170
|
|
|
@@ -195,6 +199,7 @@ def mri_fuse_segmentations(
|
|
|
195
199
|
nocc_asegs: list[InputPathType],
|
|
196
200
|
norm_volumes: list[InputPathType],
|
|
197
201
|
input_file: InputPathType,
|
|
202
|
+
output_file: str,
|
|
198
203
|
transforms: list[InputPathType] | None = None,
|
|
199
204
|
sigma: float | None = 3.0,
|
|
200
205
|
runner: Runner | None = None,
|
|
@@ -213,6 +218,7 @@ def mri_fuse_segmentations(
|
|
|
213
218
|
per TP.
|
|
214
219
|
norm_volumes: Path to norm.mgz files, one per TP.
|
|
215
220
|
input_file: Input norm.mgz file.
|
|
221
|
+
output_file: Resulting fused segmentation as aseg.fused.mgz file.
|
|
216
222
|
transforms: Transform files from each TP to the input norm.mgz, can be\
|
|
217
223
|
LTA, M3Z or identity.nofile.
|
|
218
224
|
sigma: Cross-time sigma (default 3.0).
|
|
@@ -229,6 +235,7 @@ def mri_fuse_segmentations(
|
|
|
229
235
|
transforms=transforms,
|
|
230
236
|
sigma=sigma,
|
|
231
237
|
input_file=input_file,
|
|
238
|
+
output_file=output_file,
|
|
232
239
|
)
|
|
233
240
|
return mri_fuse_segmentations_execute(params, execution)
|
|
234
241
|
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_GCAB_TRAIN_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="25854951f0e7de8635b58728b8a09edd107a327e.boutiques",
|
|
10
10
|
name="mri_gcab_train",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -15,6 +15,7 @@ MRI_GCAB_TRAIN_METADATA = Metadata(
|
|
|
15
15
|
|
|
16
16
|
MriGcabTrainParameters = typing.TypedDict('MriGcabTrainParameters', {
|
|
17
17
|
"__STYX_TYPE__": typing.Literal["mri_gcab_train"],
|
|
18
|
+
"removed_info": typing.NotRequired[str | None],
|
|
18
19
|
})
|
|
19
20
|
|
|
20
21
|
|
|
@@ -58,17 +59,23 @@ class MriGcabTrainOutputs(typing.NamedTuple):
|
|
|
58
59
|
|
|
59
60
|
|
|
60
61
|
def mri_gcab_train_params(
|
|
62
|
+
removed_info: str | None = "mri_gcab_train has been removed from this version of freesurfer.",
|
|
61
63
|
) -> MriGcabTrainParameters:
|
|
62
64
|
"""
|
|
63
65
|
Build parameters.
|
|
64
66
|
|
|
65
67
|
Args:
|
|
68
|
+
removed_info: Command has been removed from the current version of\
|
|
69
|
+
FreeSurfer. For further information, please contact the support mailing\
|
|
70
|
+
list.
|
|
66
71
|
Returns:
|
|
67
72
|
Parameter dictionary
|
|
68
73
|
"""
|
|
69
74
|
params = {
|
|
70
75
|
"__STYXTYPE__": "mri_gcab_train",
|
|
71
76
|
}
|
|
77
|
+
if removed_info is not None:
|
|
78
|
+
params["removed_info"] = removed_info
|
|
72
79
|
return params
|
|
73
80
|
|
|
74
81
|
|
|
@@ -87,6 +94,8 @@ def mri_gcab_train_cargs(
|
|
|
87
94
|
"""
|
|
88
95
|
cargs = []
|
|
89
96
|
cargs.append("mri_gcab_train")
|
|
97
|
+
if params.get("removed_info") is not None:
|
|
98
|
+
cargs.append(params.get("removed_info"))
|
|
90
99
|
return cargs
|
|
91
100
|
|
|
92
101
|
|
|
@@ -135,6 +144,7 @@ def mri_gcab_train_execute(
|
|
|
135
144
|
|
|
136
145
|
|
|
137
146
|
def mri_gcab_train(
|
|
147
|
+
removed_info: str | None = "mri_gcab_train has been removed from this version of freesurfer.",
|
|
138
148
|
runner: Runner | None = None,
|
|
139
149
|
) -> MriGcabTrainOutputs:
|
|
140
150
|
"""
|
|
@@ -146,6 +156,9 @@ def mri_gcab_train(
|
|
|
146
156
|
URL: https://github.com/freesurfer/freesurfer
|
|
147
157
|
|
|
148
158
|
Args:
|
|
159
|
+
removed_info: Command has been removed from the current version of\
|
|
160
|
+
FreeSurfer. For further information, please contact the support mailing\
|
|
161
|
+
list.
|
|
149
162
|
runner: Command runner.
|
|
150
163
|
Returns:
|
|
151
164
|
NamedTuple of outputs (described in `MriGcabTrainOutputs`).
|
|
@@ -153,6 +166,7 @@ def mri_gcab_train(
|
|
|
153
166
|
runner = runner or get_global_runner()
|
|
154
167
|
execution = runner.start_execution(MRI_GCAB_TRAIN_METADATA)
|
|
155
168
|
params = mri_gcab_train_params(
|
|
169
|
+
removed_info=removed_info,
|
|
156
170
|
)
|
|
157
171
|
return mri_gcab_train_execute(params, execution)
|
|
158
172
|
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_GDFGLM_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="799723e383e86e6f477fa13e70a258bc7ff7f5f8.boutiques",
|
|
10
10
|
name="mri_gdfglm",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -15,6 +15,7 @@ MRI_GDFGLM_METADATA = Metadata(
|
|
|
15
15
|
|
|
16
16
|
MriGdfglmParameters = typing.TypedDict('MriGdfglmParameters', {
|
|
17
17
|
"__STYX_TYPE__": typing.Literal["mri_gdfglm"],
|
|
18
|
+
"inputs": typing.NotRequired[str | None],
|
|
18
19
|
})
|
|
19
20
|
|
|
20
21
|
|
|
@@ -62,17 +63,22 @@ class MriGdfglmOutputs(typing.NamedTuple):
|
|
|
62
63
|
|
|
63
64
|
|
|
64
65
|
def mri_gdfglm_params(
|
|
66
|
+
inputs: str | None = None,
|
|
65
67
|
) -> MriGdfglmParameters:
|
|
66
68
|
"""
|
|
67
69
|
Build parameters.
|
|
68
70
|
|
|
69
71
|
Args:
|
|
72
|
+
inputs: Input parameters are not available because the command has been\
|
|
73
|
+
removed.
|
|
70
74
|
Returns:
|
|
71
75
|
Parameter dictionary
|
|
72
76
|
"""
|
|
73
77
|
params = {
|
|
74
78
|
"__STYXTYPE__": "mri_gdfglm",
|
|
75
79
|
}
|
|
80
|
+
if inputs is not None:
|
|
81
|
+
params["inputs"] = inputs
|
|
76
82
|
return params
|
|
77
83
|
|
|
78
84
|
|
|
@@ -91,6 +97,8 @@ def mri_gdfglm_cargs(
|
|
|
91
97
|
"""
|
|
92
98
|
cargs = []
|
|
93
99
|
cargs.append("mri_gdfglm")
|
|
100
|
+
if params.get("inputs") is not None:
|
|
101
|
+
cargs.append(params.get("inputs"))
|
|
94
102
|
return cargs
|
|
95
103
|
|
|
96
104
|
|
|
@@ -139,6 +147,7 @@ def mri_gdfglm_execute(
|
|
|
139
147
|
|
|
140
148
|
|
|
141
149
|
def mri_gdfglm(
|
|
150
|
+
inputs: str | None = None,
|
|
142
151
|
runner: Runner | None = None,
|
|
143
152
|
) -> MriGdfglmOutputs:
|
|
144
153
|
"""
|
|
@@ -149,6 +158,8 @@ def mri_gdfglm(
|
|
|
149
158
|
URL: https://github.com/freesurfer/freesurfer
|
|
150
159
|
|
|
151
160
|
Args:
|
|
161
|
+
inputs: Input parameters are not available because the command has been\
|
|
162
|
+
removed.
|
|
152
163
|
runner: Command runner.
|
|
153
164
|
Returns:
|
|
154
165
|
NamedTuple of outputs (described in `MriGdfglmOutputs`).
|
|
@@ -156,6 +167,7 @@ def mri_gdfglm(
|
|
|
156
167
|
runner = runner or get_global_runner()
|
|
157
168
|
execution = runner.start_execution(MRI_GDFGLM_METADATA)
|
|
158
169
|
params = mri_gdfglm_params(
|
|
170
|
+
inputs=inputs,
|
|
159
171
|
)
|
|
160
172
|
return mri_gdfglm_execute(params, execution)
|
|
161
173
|
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_GTMPVC_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="3c3042699fe4320ac7c6849c5d7c614e5a318805.boutiques",
|
|
10
10
|
name="mri_gtmpvc",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -20,6 +20,8 @@ MriGtmpvcParameters = typing.TypedDict('MriGtmpvcParameters', {
|
|
|
20
20
|
"psf": float,
|
|
21
21
|
"segmentation": InputPathType,
|
|
22
22
|
"registration": typing.NotRequired[InputPathType | None],
|
|
23
|
+
"regheader": bool,
|
|
24
|
+
"reg_identity": bool,
|
|
23
25
|
"output_directory": str,
|
|
24
26
|
"mask": typing.NotRequired[InputPathType | None],
|
|
25
27
|
"auto_mask": typing.NotRequired[int | None],
|
|
@@ -149,6 +151,8 @@ def mri_gtmpvc_params(
|
|
|
149
151
|
output_directory: str,
|
|
150
152
|
frame: float | None = None,
|
|
151
153
|
registration: InputPathType | None = None,
|
|
154
|
+
regheader: bool = False,
|
|
155
|
+
reg_identity: bool = False,
|
|
152
156
|
mask: InputPathType | None = None,
|
|
153
157
|
auto_mask: int | None = None,
|
|
154
158
|
no_reduce_fov: bool = False,
|
|
@@ -214,6 +218,8 @@ def mri_gtmpvc_params(
|
|
|
214
218
|
output_directory: Output directory.
|
|
215
219
|
frame: Only process 0-based frame F from input volume.
|
|
216
220
|
registration: LTA registration file that maps PET to anatomical.
|
|
221
|
+
regheader: Assume input and seg share scanner space.
|
|
222
|
+
reg_identity: Assume that input is in anatomical space.
|
|
217
223
|
mask: Ignore areas outside of the mask (in input vol space).
|
|
218
224
|
auto_mask: Automatically compute mask with FWHM and threshold.
|
|
219
225
|
no_reduce_fov: Do not reduce FoV to encompass mask.
|
|
@@ -285,6 +291,8 @@ def mri_gtmpvc_params(
|
|
|
285
291
|
"input_volume": input_volume,
|
|
286
292
|
"psf": psf,
|
|
287
293
|
"segmentation": segmentation,
|
|
294
|
+
"regheader": regheader,
|
|
295
|
+
"reg_identity": reg_identity,
|
|
288
296
|
"output_directory": output_directory,
|
|
289
297
|
"no_reduce_fov": no_reduce_fov,
|
|
290
298
|
"reduce_fov_eqodd": reduce_fov_eqodd,
|
|
@@ -406,6 +414,10 @@ def mri_gtmpvc_cargs(
|
|
|
406
414
|
"--reg",
|
|
407
415
|
execution.input_file(params.get("registration"))
|
|
408
416
|
])
|
|
417
|
+
if params.get("regheader"):
|
|
418
|
+
cargs.append("--regheader")
|
|
419
|
+
if params.get("reg_identity"):
|
|
420
|
+
cargs.append("--reg-identity")
|
|
409
421
|
cargs.extend([
|
|
410
422
|
"--o",
|
|
411
423
|
params.get("output_directory")
|
|
@@ -647,6 +659,8 @@ def mri_gtmpvc(
|
|
|
647
659
|
output_directory: str,
|
|
648
660
|
frame: float | None = None,
|
|
649
661
|
registration: InputPathType | None = None,
|
|
662
|
+
regheader: bool = False,
|
|
663
|
+
reg_identity: bool = False,
|
|
650
664
|
mask: InputPathType | None = None,
|
|
651
665
|
auto_mask: int | None = None,
|
|
652
666
|
no_reduce_fov: bool = False,
|
|
@@ -718,6 +732,8 @@ def mri_gtmpvc(
|
|
|
718
732
|
output_directory: Output directory.
|
|
719
733
|
frame: Only process 0-based frame F from input volume.
|
|
720
734
|
registration: LTA registration file that maps PET to anatomical.
|
|
735
|
+
regheader: Assume input and seg share scanner space.
|
|
736
|
+
reg_identity: Assume that input is in anatomical space.
|
|
721
737
|
mask: Ignore areas outside of the mask (in input vol space).
|
|
722
738
|
auto_mask: Automatically compute mask with FWHM and threshold.
|
|
723
739
|
no_reduce_fov: Do not reduce FoV to encompass mask.
|
|
@@ -793,6 +809,8 @@ def mri_gtmpvc(
|
|
|
793
809
|
psf=psf,
|
|
794
810
|
segmentation=segmentation,
|
|
795
811
|
registration=registration,
|
|
812
|
+
regheader=regheader,
|
|
813
|
+
reg_identity=reg_identity,
|
|
796
814
|
output_directory=output_directory,
|
|
797
815
|
mask=mask,
|
|
798
816
|
auto_mask=auto_mask,
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_HAUSDORFF_DIST_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="fcb951f6d5703b00765f951fbd55babee3db2ce4.boutiques",
|
|
10
10
|
name="mri_hausdorff_dist",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -131,7 +131,6 @@ def mri_hausdorff_dist_cargs(
|
|
|
131
131
|
cargs.append(execution.input_file(params.get("vol1")))
|
|
132
132
|
cargs.append(execution.input_file(params.get("vol2")))
|
|
133
133
|
cargs.append(params.get("output_text_file"))
|
|
134
|
-
cargs.append("[BINARIZE_FLAG]")
|
|
135
134
|
if params.get("threshold") is not None:
|
|
136
135
|
cargs.extend([
|
|
137
136
|
"-b",
|