niwrap-freesurfer 0.5.1__py3-none-any.whl → 0.5.2__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.

Files changed (153) hide show
  1. niwrap_freesurfer/freesurfer/__init__.py +0 -11
  2. niwrap_freesurfer/freesurfer/annot2std.py +32 -1
  3. niwrap_freesurfer/freesurfer/aparc2feat.py +19 -1
  4. niwrap_freesurfer/freesurfer/bbregister.py +143 -4
  5. niwrap_freesurfer/freesurfer/bmedits2surf.py +2 -2
  6. niwrap_freesurfer/freesurfer/compute_interrater_variability_csh.py +20 -2
  7. niwrap_freesurfer/freesurfer/compute_label_volumes_csh.py +17 -2
  8. niwrap_freesurfer/freesurfer/conf2hires.py +59 -1
  9. niwrap_freesurfer/freesurfer/connected_components.py +34 -2
  10. niwrap_freesurfer/freesurfer/dcmdir_info_mgh.py +3 -2
  11. niwrap_freesurfer/freesurfer/dcmdjpeg_fs.py +2 -2
  12. niwrap_freesurfer/freesurfer/dcmdrle_fs.py +2 -2
  13. niwrap_freesurfer/freesurfer/dicom_rename.py +21 -2
  14. niwrap_freesurfer/freesurfer/dmri_bset.py +14 -2
  15. niwrap_freesurfer/freesurfer/dmri_forrest.py +10 -1
  16. niwrap_freesurfer/freesurfer/dmri_mergepaths.py +2 -2
  17. niwrap_freesurfer/freesurfer/dmri_pathstats.py +2 -2
  18. niwrap_freesurfer/freesurfer/dmri_stats_ac.py +1 -3
  19. niwrap_freesurfer/freesurfer/exvivo_hemi_proc.py +10 -1
  20. niwrap_freesurfer/freesurfer/fiducials_calibration.py +15 -1
  21. niwrap_freesurfer/freesurfer/fiducials_correction.py +10 -3
  22. niwrap_freesurfer/freesurfer/fix_subject_corrected_rh.py +3 -2
  23. niwrap_freesurfer/freesurfer/fix_subject_rh.py +3 -2
  24. niwrap_freesurfer/freesurfer/fs_check_version.py +19 -1
  25. niwrap_freesurfer/freesurfer/fs_spmreg_glnxa64.py +19 -4
  26. niwrap_freesurfer/freesurfer/fs_temp_file.py +36 -1
  27. niwrap_freesurfer/freesurfer/fs_update.py +19 -1
  28. niwrap_freesurfer/freesurfer/fsl_sub_mgh.py +1 -2
  29. niwrap_freesurfer/freesurfer/fsr_import.py +55 -5
  30. niwrap_freesurfer/freesurfer/fvcompare.py +10 -1
  31. niwrap_freesurfer/freesurfer/gca_apply.py +3 -2
  32. niwrap_freesurfer/freesurfer/gdcmconv_fs.py +2 -2
  33. niwrap_freesurfer/freesurfer/get_label_thickness.py +1 -2
  34. niwrap_freesurfer/freesurfer/groupstats.py +97 -1
  35. niwrap_freesurfer/freesurfer/groupstatsdiff.py +4 -4
  36. niwrap_freesurfer/freesurfer/hiam_make_surfaces.py +1 -2
  37. niwrap_freesurfer/freesurfer/histo_synthesize.py +1 -2
  38. niwrap_freesurfer/freesurfer/inflate_subject_lh.py +3 -2
  39. niwrap_freesurfer/freesurfer/inflate_subject_new_lh.py +3 -3
  40. niwrap_freesurfer/freesurfer/inflate_subject_new_rh.py +3 -2
  41. niwrap_freesurfer/freesurfer/inflate_subject_rh.py +3 -2
  42. niwrap_freesurfer/freesurfer/inflate_subject_sc.py +28 -3
  43. niwrap_freesurfer/freesurfer/irepifitvol_glnx64.py +2 -2
  44. niwrap_freesurfer/freesurfer/is_surface.py +3 -2
  45. niwrap_freesurfer/freesurfer/isolate_labels_csh.py +17 -2
  46. niwrap_freesurfer/freesurfer/label_subject_flash.py +2 -2
  47. niwrap_freesurfer/freesurfer/label_subject_mixed.py +2 -2
  48. niwrap_freesurfer/freesurfer/listsubj.py +82 -2
  49. niwrap_freesurfer/freesurfer/long_stats_combine.py +1 -2
  50. niwrap_freesurfer/freesurfer/long_stats_tps.py +7 -7
  51. niwrap_freesurfer/freesurfer/long_submit_jobs.py +1 -5
  52. niwrap_freesurfer/freesurfer/longmc.py +10 -1
  53. niwrap_freesurfer/freesurfer/lta_convert.py +157 -1
  54. niwrap_freesurfer/freesurfer/make_average_volume.py +19 -1
  55. niwrap_freesurfer/freesurfer/make_folding_atlas.py +10 -1
  56. niwrap_freesurfer/freesurfer/map_all_labels_lh.py +11 -3
  57. niwrap_freesurfer/freesurfer/map_central_sulcus.py +2 -2
  58. niwrap_freesurfer/freesurfer/merge_stats_tables.py +58 -35
  59. niwrap_freesurfer/freesurfer/mideface.py +121 -14
  60. niwrap_freesurfer/freesurfer/mni152reg.py +2 -2
  61. niwrap_freesurfer/freesurfer/morph_only_subject_lh.py +3 -2
  62. niwrap_freesurfer/freesurfer/morph_only_subject_rh.py +3 -2
  63. niwrap_freesurfer/freesurfer/morph_rgb_lh.py +3 -2
  64. niwrap_freesurfer/freesurfer/morph_rgb_rh.py +3 -2
  65. niwrap_freesurfer/freesurfer/morph_subject_lh.py +3 -2
  66. niwrap_freesurfer/freesurfer/morph_subject_rh.py +3 -2
  67. niwrap_freesurfer/freesurfer/morph_tables_lh.py +3 -2
  68. niwrap_freesurfer/freesurfer/morph_tables_rh.py +3 -2
  69. niwrap_freesurfer/freesurfer/mri_aparc2aseg.py +10 -1
  70. niwrap_freesurfer/freesurfer/mri_apply_bias.py +1 -2
  71. niwrap_freesurfer/freesurfer/mri_average.py +10 -1
  72. niwrap_freesurfer/freesurfer/mri_brain_volume.py +23 -2
  73. niwrap_freesurfer/freesurfer/mri_ca_label.py +603 -2
  74. niwrap_freesurfer/freesurfer/mri_ca_train.py +10 -1
  75. niwrap_freesurfer/freesurfer/mri_convert.py +188 -2
  76. niwrap_freesurfer/freesurfer/mri_fuse_segmentations.py +10 -3
  77. niwrap_freesurfer/freesurfer/mri_gcab_train.py +15 -1
  78. niwrap_freesurfer/freesurfer/mri_gdfglm.py +13 -1
  79. niwrap_freesurfer/freesurfer/mri_gtmpvc.py +19 -1
  80. niwrap_freesurfer/freesurfer/mri_hausdorff_dist.py +1 -2
  81. niwrap_freesurfer/freesurfer/mri_head.py +19 -1
  82. niwrap_freesurfer/freesurfer/mri_jacobian.py +10 -1
  83. niwrap_freesurfer/freesurfer/mri_nl_align.py +27 -1
  84. niwrap_freesurfer/freesurfer/mri_relabel_nonwm_hypos.py +3 -3
  85. niwrap_freesurfer/freesurfer/mri_reorient_lr_csh.py +2 -2
  86. niwrap_freesurfer/freesurfer/mri_seg_diff.py +14 -1
  87. niwrap_freesurfer/freesurfer/mri_twoclass.py +1 -2
  88. niwrap_freesurfer/freesurfer/mri_validate_skull_stripped.py +2 -2
  89. niwrap_freesurfer/freesurfer/mri_warp_convert.py +131 -1
  90. niwrap_freesurfer/freesurfer/mri_z2p.py +37 -1
  91. niwrap_freesurfer/freesurfer/mris_add_template.py +11 -1
  92. niwrap_freesurfer/freesurfer/mris_apply_reg.py +1 -2
  93. niwrap_freesurfer/freesurfer/mris_curvature_stats.py +419 -7
  94. niwrap_freesurfer/freesurfer/mris_diff.py +255 -1
  95. niwrap_freesurfer/freesurfer/mris_distance_map.py +1 -2
  96. niwrap_freesurfer/freesurfer/mris_errors.py +1 -2
  97. niwrap_freesurfer/freesurfer/mris_info.py +45 -46
  98. niwrap_freesurfer/freesurfer/mris_label_calc.py +14 -1
  99. niwrap_freesurfer/freesurfer/mris_map_cuts.py +1 -2
  100. niwrap_freesurfer/freesurfer/mris_nudge.py +1 -2
  101. niwrap_freesurfer/freesurfer/mris_place_surface.py +1 -2
  102. niwrap_freesurfer/freesurfer/mris_preproc.py +16 -2
  103. niwrap_freesurfer/freesurfer/mris_spherical_average.py +93 -8
  104. niwrap_freesurfer/freesurfer/mris_thickness_diff.py +1 -5
  105. niwrap_freesurfer/freesurfer/mris_volmask_vtk.py +2 -2
  106. niwrap_freesurfer/freesurfer/pctsurfcon.py +2 -2
  107. niwrap_freesurfer/freesurfer/plot_structure_stats_tcl.py +2 -2
  108. niwrap_freesurfer/freesurfer/post_recon_all.py +39 -2
  109. niwrap_freesurfer/freesurfer/predict_v1_sh.py +11 -2
  110. niwrap_freesurfer/freesurfer/print_unique_labels_csh.py +34 -3
  111. niwrap_freesurfer/freesurfer/rbbr.py +37 -1
  112. niwrap_freesurfer/freesurfer/rca_base_init.py +3 -2
  113. niwrap_freesurfer/freesurfer/rca_config.py +3 -2
  114. niwrap_freesurfer/freesurfer/rca_config2csh.py +3 -2
  115. niwrap_freesurfer/freesurfer/recon_all.py +75 -1
  116. niwrap_freesurfer/freesurfer/register_elderly_subject.py +2 -2
  117. niwrap_freesurfer/freesurfer/reinflate_subject_lh.py +3 -2
  118. niwrap_freesurfer/freesurfer/reinflate_subject_rh.py +3 -2
  119. niwrap_freesurfer/freesurfer/renormalize_subject_keep_editting.py +13 -1
  120. niwrap_freesurfer/freesurfer/rtview.py +34 -1
  121. niwrap_freesurfer/freesurfer/run_qdec_glm.py +3 -2
  122. niwrap_freesurfer/freesurfer/samseg.py +14 -1
  123. niwrap_freesurfer/freesurfer/samseg_long.py +17 -8
  124. niwrap_freesurfer/freesurfer/samsegmesh2surf.py +5 -7
  125. niwrap_freesurfer/freesurfer/seg2filled.py +4 -4
  126. niwrap_freesurfer/freesurfer/segment_subject.py +2 -2
  127. niwrap_freesurfer/freesurfer/segment_subject_old_skull_strip.py +4 -4
  128. niwrap_freesurfer/freesurfer/segment_subject_sc.py +4 -4
  129. niwrap_freesurfer/freesurfer/segment_subject_t2_auto_estimate_alveus_ml.py +11 -1
  130. niwrap_freesurfer/freesurfer/segpons.py +2 -2
  131. niwrap_freesurfer/freesurfer/sphere_subject_lh.py +3 -2
  132. niwrap_freesurfer/freesurfer/sphere_subject_rh.py +3 -2
  133. niwrap_freesurfer/freesurfer/talairach.py +4 -4
  134. niwrap_freesurfer/freesurfer/trac_all.py +283 -1
  135. niwrap_freesurfer/freesurfer/train_gcs_atlas.py +19 -1
  136. niwrap_freesurfer/freesurfer/update_needed.py +13 -2
  137. niwrap_freesurfer/freesurfer/vertexvol.py +19 -1
  138. niwrap_freesurfer/freesurfer/vol2subfield.py +72 -1
  139. niwrap_freesurfer/freesurfer/wmsaseg.py +2 -2
  140. {niwrap_freesurfer-0.5.1.dist-info → niwrap_freesurfer-0.5.2.dist-info}/METADATA +1 -1
  141. {niwrap_freesurfer-0.5.1.dist-info → niwrap_freesurfer-0.5.2.dist-info}/RECORD +142 -153
  142. niwrap_freesurfer/freesurfer/bet_fsl.py +0 -441
  143. niwrap_freesurfer/freesurfer/epidewarp_fsl.py +0 -439
  144. niwrap_freesurfer/freesurfer/flirt_fsl.py +0 -604
  145. niwrap_freesurfer/freesurfer/fscalc_fsl.py +0 -196
  146. niwrap_freesurfer/freesurfer/fsfirst_fsl.py +0 -166
  147. niwrap_freesurfer/freesurfer/fslmaths_fsl.py +0 -196
  148. niwrap_freesurfer/freesurfer/fslorient_fsl.py +0 -207
  149. niwrap_freesurfer/freesurfer/fslswapdim_fsl.py +0 -216
  150. niwrap_freesurfer/freesurfer/fspython.py +0 -175
  151. niwrap_freesurfer/freesurfer/mri_motion_correct_fsl.py +0 -185
  152. niwrap_freesurfer/freesurfer/slicetimer_fsl.py +0 -291
  153. {niwrap_freesurfer-0.5.1.dist-info → niwrap_freesurfer-0.5.2.dist-info}/WHEEL +0 -0
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  RUN_QDEC_GLM_METADATA = Metadata(
9
- id="b83d7c50b5137b0f5530f2c1776edefd9de98fa2.boutiques",
9
+ id="7d86461bf7f65d864302de80bed43c2de8adbb76.boutiques",
10
10
  name="run-qdec-glm",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -90,9 +90,10 @@ def run_qdec_glm_cargs(
90
90
  Command-line arguments.
91
91
  """
92
92
  cargs = []
93
+ cargs.append("run-qdec-glm")
93
94
  cargs.extend([
94
95
  "-glm",
95
- "run-qdec" + params.get("qdec_directory")
96
+ params.get("qdec_directory")
96
97
  ])
97
98
  return cargs
98
99
 
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  SAMSEG_METADATA = Metadata(
9
- id="1947f646fba1c79e354f5efabbda10d0a11595ce.boutiques",
9
+ id="86da9ab5c96ce79b11eaa8ba3fee321e3bcca1b7.boutiques",
10
10
  name="samseg",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -52,6 +52,7 @@ SamsegParameters = typing.TypedDict('SamsegParameters', {
52
52
  "regmat_file": typing.NotRequired[InputPathType | None],
53
53
  "init_lta": typing.NotRequired[InputPathType | None],
54
54
  "reg_only": bool,
55
+ "ssdd_directory": typing.NotRequired[str | None],
55
56
  "save_mesh": bool,
56
57
  "max_iters": typing.NotRequired[float | None],
57
58
  "dice_file": typing.NotRequired[InputPathType | None],
@@ -147,6 +148,7 @@ def samseg_params(
147
148
  regmat_file: InputPathType | None = None,
148
149
  init_lta: InputPathType | None = None,
149
150
  reg_only: bool = False,
151
+ ssdd_directory: str | None = None,
150
152
  save_mesh: bool = False,
151
153
  max_iters: float | None = None,
152
154
  dice_file: InputPathType | None = None,
@@ -207,6 +209,7 @@ def samseg_params(
207
209
  regmat_file: Same as --reg.
208
210
  init_lta: Initial registration LTA file.
209
211
  reg_only: Only perform registration.
212
+ ssdd_directory: Path to SAMSEG_Data_DIR where the atlas is located.
210
213
  save_mesh: Save the mesh, useful for longitudinal analysis.
211
214
  max_iters: Maximum number of iterations.
212
215
  dice_file: DICE coefficient file for segmentation.
@@ -277,6 +280,8 @@ def samseg_params(
277
280
  params["regmat_file"] = regmat_file
278
281
  if init_lta is not None:
279
282
  params["init_lta"] = init_lta
283
+ if ssdd_directory is not None:
284
+ params["ssdd_directory"] = ssdd_directory
280
285
  if max_iters is not None:
281
286
  params["max_iters"] = max_iters
282
287
  if dice_file is not None:
@@ -432,6 +437,11 @@ def samseg_cargs(
432
437
  ])
433
438
  if params.get("reg_only"):
434
439
  cargs.append("--reg-only")
440
+ if params.get("ssdd_directory") is not None:
441
+ cargs.extend([
442
+ "--ssdd",
443
+ params.get("ssdd_directory")
444
+ ])
435
445
  if params.get("save_mesh"):
436
446
  cargs.append("--save-mesh")
437
447
  if params.get("max_iters") is not None:
@@ -545,6 +555,7 @@ def samseg(
545
555
  regmat_file: InputPathType | None = None,
546
556
  init_lta: InputPathType | None = None,
547
557
  reg_only: bool = False,
558
+ ssdd_directory: str | None = None,
548
559
  save_mesh: bool = False,
549
560
  max_iters: float | None = None,
550
561
  dice_file: InputPathType | None = None,
@@ -611,6 +622,7 @@ def samseg(
611
622
  regmat_file: Same as --reg.
612
623
  init_lta: Initial registration LTA file.
613
624
  reg_only: Only perform registration.
625
+ ssdd_directory: Path to SAMSEG_Data_DIR where the atlas is located.
614
626
  save_mesh: Save the mesh, useful for longitudinal analysis.
615
627
  max_iters: Maximum number of iterations.
616
628
  dice_file: DICE coefficient file for segmentation.
@@ -663,6 +675,7 @@ def samseg(
663
675
  regmat_file=regmat_file,
664
676
  init_lta=init_lta,
665
677
  reg_only=reg_only,
678
+ ssdd_directory=ssdd_directory,
666
679
  save_mesh=save_mesh,
667
680
  max_iters=max_iters,
668
681
  dice_file=dice_file,
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  SAMSEG_LONG_METADATA = Metadata(
9
- id="686e2f45cf8bcf8f37552255f101cc1d16f93f40.boutiques",
9
+ id="514c1dbb1911d4434a75fb9f1d1ec8a2a10ee435.boutiques",
10
10
  name="samseg-long",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -16,9 +16,10 @@ SAMSEG_LONG_METADATA = Metadata(
16
16
  SamsegLongParameters = typing.TypedDict('SamsegLongParameters', {
17
17
  "__STYX_TYPE__": typing.Literal["samseg-long"],
18
18
  "output_dir": str,
19
+ "input_files": list[InputPathType],
20
+ "align_mc": bool,
19
21
  "align_no_mc": bool,
20
22
  "threads": typing.NotRequired[float | None],
21
- "input_files": list[InputPathType],
22
23
  "save_posteriors": bool,
23
24
  "force_update": bool,
24
25
  })
@@ -73,6 +74,7 @@ class SamsegLongOutputs(typing.NamedTuple):
73
74
  def samseg_long_params(
74
75
  output_dir: str,
75
76
  input_files: list[InputPathType],
77
+ align_mc: bool = False,
76
78
  align_no_mc: bool = False,
77
79
  threads: float | None = None,
78
80
  save_posteriors: bool = False,
@@ -84,6 +86,7 @@ def samseg_long_params(
84
86
  Args:
85
87
  output_dir: Output directory.
86
88
  input_files: Input image files. All inputs must be a single modality.
89
+ align_mc: Align all inputs using robust register.
87
90
  align_no_mc: Do not align inputs using robust register.
88
91
  threads: Number of threads to use.
89
92
  save_posteriors: Save posterior probabilities.
@@ -94,8 +97,9 @@ def samseg_long_params(
94
97
  params = {
95
98
  "__STYXTYPE__": "samseg-long",
96
99
  "output_dir": output_dir,
97
- "align_no_mc": align_no_mc,
98
100
  "input_files": input_files,
101
+ "align_mc": align_mc,
102
+ "align_no_mc": align_no_mc,
99
103
  "save_posteriors": save_posteriors,
100
104
  "force_update": force_update,
101
105
  }
@@ -123,6 +127,12 @@ def samseg_long_cargs(
123
127
  "--o",
124
128
  params.get("output_dir")
125
129
  ])
130
+ cargs.extend([
131
+ "--i",
132
+ *[execution.input_file(f) for f in params.get("input_files")]
133
+ ])
134
+ if params.get("align_mc"):
135
+ cargs.append("--mc")
126
136
  if params.get("align_no_mc"):
127
137
  cargs.append("--no-mc")
128
138
  if params.get("threads") is not None:
@@ -130,10 +140,6 @@ def samseg_long_cargs(
130
140
  "--threads",
131
141
  str(params.get("threads"))
132
142
  ])
133
- cargs.extend([
134
- "--i",
135
- *[execution.input_file(f) for f in params.get("input_files")]
136
- ])
137
143
  if params.get("save_posteriors"):
138
144
  cargs.append("--save-posteriors")
139
145
  if params.get("force_update"):
@@ -190,6 +196,7 @@ def samseg_long_execute(
190
196
  def samseg_long(
191
197
  output_dir: str,
192
198
  input_files: list[InputPathType],
199
+ align_mc: bool = False,
193
200
  align_no_mc: bool = False,
194
201
  threads: float | None = None,
195
202
  save_posteriors: bool = False,
@@ -206,6 +213,7 @@ def samseg_long(
206
213
  Args:
207
214
  output_dir: Output directory.
208
215
  input_files: Input image files. All inputs must be a single modality.
216
+ align_mc: Align all inputs using robust register.
209
217
  align_no_mc: Do not align inputs using robust register.
210
218
  threads: Number of threads to use.
211
219
  save_posteriors: Save posterior probabilities.
@@ -218,9 +226,10 @@ def samseg_long(
218
226
  execution = runner.start_execution(SAMSEG_LONG_METADATA)
219
227
  params = samseg_long_params(
220
228
  output_dir=output_dir,
229
+ input_files=input_files,
230
+ align_mc=align_mc,
221
231
  align_no_mc=align_no_mc,
222
232
  threads=threads,
223
- input_files=input_files,
224
233
  save_posteriors=save_posteriors,
225
234
  force_update=force_update,
226
235
  )
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  SAMSEGMESH2SURF_METADATA = Metadata(
9
- id="d985be1373714eb0aff1a308730598604fe9d68c.boutiques",
9
+ id="d0ca6a468bc9a3a09b97395c0b760ba787b54209.boutiques",
10
10
  name="samsegmesh2surf",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -127,24 +127,22 @@ def samsegmesh2surf_cargs(
127
127
  if params.get("template") is not None:
128
128
  cargs.extend([
129
129
  "--template",
130
- "(" + execution.input_file(params.get("template"))
130
+ execution.input_file(params.get("template"))
131
131
  ])
132
- cargs.append("|")
133
132
  if params.get("lta_transform") is not None:
134
133
  cargs.extend([
135
134
  "--lta",
136
- execution.input_file(params.get("lta_transform")) + ")"
135
+ execution.input_file(params.get("lta_transform"))
137
136
  ])
138
137
  if params.get("output_surface") is not None:
139
138
  cargs.extend([
140
139
  "--osurf",
141
- "(" + params.get("output_surface")
140
+ params.get("output_surface")
142
141
  ])
143
- cargs.append("|")
144
142
  if params.get("output_priors") is not None:
145
143
  cargs.extend([
146
144
  "--opriors",
147
- params.get("output_priors") + ")"
145
+ params.get("output_priors")
148
146
  ])
149
147
  if params.get("invert_flag"):
150
148
  cargs.append("--invert")
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  SEG2FILLED_METADATA = Metadata(
9
- id="894fcea3b0a2a4a1b34ad187f3a8016973d50857.boutiques",
9
+ id="08a923890854a31a1c2fa48662a53980de38b6b2.boutiques",
10
10
  name="seg2filled",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -123,15 +123,15 @@ def seg2filled_cargs(
123
123
  cargs.append("seg2filled")
124
124
  cargs.extend([
125
125
  "-seg",
126
- "-" + execution.input_file(params.get("seg_file"))
126
+ execution.input_file(params.get("seg_file"))
127
127
  ])
128
128
  cargs.extend([
129
129
  "-norm",
130
- "-" + execution.input_file(params.get("norm_file"))
130
+ execution.input_file(params.get("norm_file"))
131
131
  ])
132
132
  cargs.extend([
133
133
  "-o",
134
- "-" + params.get("output_file")
134
+ params.get("output_file")
135
135
  ])
136
136
  if params.get("ndil") is not None:
137
137
  cargs.extend([
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  SEGMENT_SUBJECT_METADATA = Metadata(
9
- id="5ab5fa41476c4d8921b2a5ed52d0505305a8ad2b.boutiques",
9
+ id="a65e75f6b6b5d6e1393a6f72d663a2e7389bbdf7.boutiques",
10
10
  name="segment_subject",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -114,7 +114,7 @@ def segment_subject_cargs(
114
114
  Command-line arguments.
115
115
  """
116
116
  cargs = []
117
- cargs.append("mri_nu_correct.mni")
117
+ cargs.append("segment_subject")
118
118
  cargs.extend([
119
119
  "--i",
120
120
  execution.input_file(params.get("input_volume"))
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  SEGMENT_SUBJECT_OLD_SKULL_STRIP_METADATA = Metadata(
9
- id="abc48359fac304f034867897b978186bcd82c5e7.boutiques",
9
+ id="76e6c0d1bcca0bcd9cea638d24de4bcebaf7875a.boutiques",
10
10
  name="segment_subject_old_skull_strip",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -116,14 +116,14 @@ def segment_subject_old_skull_strip_cargs(
116
116
  Command-line arguments.
117
117
  """
118
118
  cargs = []
119
- cargs.append("mri_nu_correct.mni")
119
+ cargs.append("segment_subject_old_skull_strip")
120
120
  cargs.extend([
121
121
  "-i",
122
- "-" + execution.input_file(params.get("input_volume"))
122
+ execution.input_file(params.get("input_volume"))
123
123
  ])
124
124
  cargs.extend([
125
125
  "-xfm",
126
- "-" + params.get("output_xfm")
126
+ params.get("output_xfm")
127
127
  ])
128
128
  if params.get("log_file") is not None:
129
129
  cargs.extend([
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  SEGMENT_SUBJECT_SC_METADATA = Metadata(
9
- id="02733a36fda91e4ab91ac726bedcbf25c9c93313.boutiques",
9
+ id="fa16d65c7df23bac2f3fce0055543daf1ef20f51.boutiques",
10
10
  name="segment_subject_sc",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -106,14 +106,14 @@ def segment_subject_sc_cargs(
106
106
  Command-line arguments.
107
107
  """
108
108
  cargs = []
109
- cargs.append("mri_nu_correct.mni")
109
+ cargs.append("segment_subject_sc")
110
110
  cargs.extend([
111
111
  "-i",
112
- "-" + execution.input_file(params.get("invol"))
112
+ execution.input_file(params.get("invol"))
113
113
  ])
114
114
  cargs.extend([
115
115
  "-xfm",
116
- "-" + execution.input_file(params.get("outxfm"))
116
+ execution.input_file(params.get("outxfm"))
117
117
  ])
118
118
  if params.get("log") is not None:
119
119
  cargs.extend([
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  SEGMENT_SUBJECT_T2_AUTO_ESTIMATE_ALVEUS_ML_METADATA = Metadata(
9
- id="8a6a12eb1eae4567d49625f69155e84f68466b3c.boutiques",
9
+ id="e6b692a7de46610579fa5e10ad01fb96c5b2f745.boutiques",
10
10
  name="segmentSubjectT2_autoEstimateAlveusML",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -15,6 +15,7 @@ SEGMENT_SUBJECT_T2_AUTO_ESTIMATE_ALVEUS_ML_METADATA = Metadata(
15
15
 
16
16
  SegmentSubjectT2AutoEstimateAlveusMlParameters = typing.TypedDict('SegmentSubjectT2AutoEstimateAlveusMlParameters', {
17
17
  "__STYX_TYPE__": typing.Literal["segmentSubjectT2_autoEstimateAlveusML"],
18
+ "missing_library": str,
18
19
  })
19
20
 
20
21
 
@@ -58,16 +59,20 @@ class SegmentSubjectT2AutoEstimateAlveusMlOutputs(typing.NamedTuple):
58
59
 
59
60
 
60
61
  def segment_subject_t2_auto_estimate_alveus_ml_params(
62
+ missing_library: str = "libmwlaunchermain.so: cannot open shared object file",
61
63
  ) -> SegmentSubjectT2AutoEstimateAlveusMlParameters:
62
64
  """
63
65
  Build parameters.
64
66
 
65
67
  Args:
68
+ missing_library: The tool could not be executed due to a missing shared\
69
+ library: libmwlaunchermain.so.
66
70
  Returns:
67
71
  Parameter dictionary
68
72
  """
69
73
  params = {
70
74
  "__STYXTYPE__": "segmentSubjectT2_autoEstimateAlveusML",
75
+ "missing_library": missing_library,
71
76
  }
72
77
  return params
73
78
 
@@ -87,6 +92,7 @@ def segment_subject_t2_auto_estimate_alveus_ml_cargs(
87
92
  """
88
93
  cargs = []
89
94
  cargs.append("segmentSubjectT2_autoEstimateAlveusML")
95
+ cargs.append(params.get("missing_library"))
90
96
  return cargs
91
97
 
92
98
 
@@ -134,6 +140,7 @@ def segment_subject_t2_auto_estimate_alveus_ml_execute(
134
140
 
135
141
 
136
142
  def segment_subject_t2_auto_estimate_alveus_ml(
143
+ missing_library: str = "libmwlaunchermain.so: cannot open shared object file",
137
144
  runner: Runner | None = None,
138
145
  ) -> SegmentSubjectT2AutoEstimateAlveusMlOutputs:
139
146
  """
@@ -144,6 +151,8 @@ def segment_subject_t2_auto_estimate_alveus_ml(
144
151
  URL: https://github.com/freesurfer/freesurfer
145
152
 
146
153
  Args:
154
+ missing_library: The tool could not be executed due to a missing shared\
155
+ library: libmwlaunchermain.so.
147
156
  runner: Command runner.
148
157
  Returns:
149
158
  NamedTuple of outputs (described in `SegmentSubjectT2AutoEstimateAlveusMlOutputs`).
@@ -151,6 +160,7 @@ def segment_subject_t2_auto_estimate_alveus_ml(
151
160
  runner = runner or get_global_runner()
152
161
  execution = runner.start_execution(SEGMENT_SUBJECT_T2_AUTO_ESTIMATE_ALVEUS_ML_METADATA)
153
162
  params = segment_subject_t2_auto_estimate_alveus_ml_params(
163
+ missing_library=missing_library,
154
164
  )
155
165
  return segment_subject_t2_auto_estimate_alveus_ml_execute(params, execution)
156
166
 
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  SEGPONS_METADATA = Metadata(
9
- id="4b38e194fdd9fe1d16fc15d6ac746b2dffa56e0f.boutiques",
9
+ id="8eb6baa748bcc4187afc21f69060f662b9b141d7.boutiques",
10
10
  name="segpons",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -118,7 +118,7 @@ def segpons_cargs(
118
118
  cargs.append("segpons")
119
119
  cargs.extend([
120
120
  "-s",
121
- "-" + params.get("subject")
121
+ params.get("subject")
122
122
  ])
123
123
  if params.get("aseg"):
124
124
  cargs.append("--aseg")
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  SPHERE_SUBJECT_LH_METADATA = Metadata(
9
- id="6cb29acf4c0a72caae7b4c3b000c37495ed423e6.boutiques",
9
+ id="951f794e9569d4f1b767c4b13b886e42c3d32956.boutiques",
10
10
  name="sphere_subject-lh",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -90,9 +90,10 @@ def sphere_subject_lh_cargs(
90
90
  Command-line arguments.
91
91
  """
92
92
  cargs = []
93
+ cargs.append("sphere_subject-lh")
93
94
  cargs.extend([
94
95
  "-lh",
95
- "sphere_subject" + execution.input_file(params.get("license_file"))
96
+ execution.input_file(params.get("license_file"))
96
97
  ])
97
98
  return cargs
98
99
 
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  SPHERE_SUBJECT_RH_METADATA = Metadata(
9
- id="844b29d70c1496f2da433daa0b47df80e286dc3b.boutiques",
9
+ id="3f5f7069b0a16e269b65f3d28ad8762b4bb84b90.boutiques",
10
10
  name="sphere_subject-rh",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -91,9 +91,10 @@ def sphere_subject_rh_cargs(
91
91
  Command-line arguments.
92
92
  """
93
93
  cargs = []
94
+ cargs.append("sphere_subject-rh")
94
95
  cargs.extend([
95
96
  "-rh",
96
- "sphere_subject" + execution.input_file(params.get("license_file"))
97
+ execution.input_file(params.get("license_file"))
97
98
  ])
98
99
  return cargs
99
100
 
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  TALAIRACH_METADATA = Metadata(
9
- id="1512333dd2617cccb8f9ea33a7bc7b56b8c724e3.boutiques",
9
+ id="fdcf0b0c4d49174cda1f651aa6a291f3c7d090a9.boutiques",
10
10
  name="talairach",
11
11
  package="freesurfer",
12
12
  container_image_tag="freesurfer/freesurfer:7.4.1",
@@ -105,14 +105,14 @@ def talairach_cargs(
105
105
  Command-line arguments.
106
106
  """
107
107
  cargs = []
108
- cargs.append("mri_nu_correct.mni")
108
+ cargs.append("talairach")
109
109
  cargs.extend([
110
110
  "-i",
111
- "-" + execution.input_file(params.get("input_volume"))
111
+ execution.input_file(params.get("input_volume"))
112
112
  ])
113
113
  cargs.extend([
114
114
  "-xfm",
115
- "-" + params.get("output_transform")
115
+ params.get("output_transform")
116
116
  ])
117
117
  if params.get("log_flag"):
118
118
  cargs.append("--log")