@@ -274,7 +291,6 @@ class DWIPreprocInputSpec(MRTrix3BaseInputSpec):
274
291
)
275
292
pe_dir=traits.Str(
276
293
argstr="-pe_dir %s",
277
-
mandatory=True,
278
294
desc="Specify the phase encoding direction of the input series, can be a signed axis number (e.g. -0, 1, +2), an axis designator (e.g. RL, PA, IS), or NIfTI axis codes (e.g. i-, j, k)",
279
295
)
280
296
ro_time=traits.Float(
@@ -290,33 +306,49 @@ class DWIPreprocInputSpec(MRTrix3BaseInputSpec):
290
306
argstr="-align_seepi",
291
307
desc="Achieve alignment between the SE-EPI images used for inhomogeneity field estimation, and the DWIs",
292
308
)
293
-
eddy_options=traits.Str(
294
-
argstr='-eddy_options "%s"',
295
-
desc="Manually provide additional command-line options to the eddy command",
309
+
json_import=File(
310
+
exists=True,
311
+
argstr="-json_import %s",
312
+
desc="Import image header information from an associated JSON file (may be necessary to determine phase encoding information)",
296
313
)
297
314
topup_options=traits.Str(
298
315
argstr='-topup_options "%s"',
299
316
desc="Manually provide additional command-line options to the topup command",
300
317
)
301
-
export_grad_mrtrix=traits.Bool(
302
-
argstr="-export_grad_mrtrix", desc="export new gradient files in mrtrix format"
318
+
eddy_options=traits.Str(
319
+
argstr='-eddy_options "%s"',
320
+
desc="Manually provide additional command-line options to the eddy command",
321
+
)
322
+
eddy_mask=File(
323
+
exists=True,
324
+
argstr="-eddy_mask %s",
325
+
desc="Provide a processing mask to use for eddy, instead of having dwifslpreproc generate one internally using dwi2mask",
326
+
)
327
+
eddy_slspec=File(
328
+
exists=True,
329
+
argstr="-eddy_slspec %s",
330
+
desc="Provide a file containing slice groupings for eddy's slice-to-volume registration",
331
+
)
332
+
eddyqc_text=Directory(
333
+
exists=False,
334
+
argstr="-eddyqc_text %s",
335
+
desc="Copy the various text-based statistical outputs generated by eddy, and the output of eddy_qc (if installed), into an output directory",
303
336
)
304
-
export_grad_fsl=traits.Bool(
305
-
argstr="-export_grad_fsl", desc="export gradient files in FSL format"
337
+
eddyqc_all=Directory(
338
+
exists=False,
339
+
argstr="-eddyqc_all %s",
340
+
desc="Copy ALL outputs generated by eddy (including images), and the output of eddy_qc (if installed), into an output directory",
306
341
)
307
342
out_grad_mrtrix=File(
308
343
"grad.b",
309
-
argstr="%s",
310
-
usedefault=True,
311
-
requires=["export_grad_mrtrix"],
312
-
desc="name of new gradient file",
344
+
argstr="-export_grad_mrtrix %s",
345
+
desc="export new gradient files in mrtrix format",
0 commit comments