Skip to content

Commit 47eea0b

Browse files
committed
added defaults to mrcalc task
1 parent 9c599be commit 47eea0b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pydra/tasks/mrtrix3/manual/mrcalc.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,13 +228,15 @@ class MrCalc(specs.ShellDef["MrCalc.Outputs"]):
228228
"uint8",
229229
"bit",
230230
],
231+
default=None,
231232
)
232233

233234
# Standard options
234235

235236
info: bool = shell.arg(
236237
argstr="-info",
237238
help="""display information messages.""",
239+
default=False,
238240
)
239241

240242
quiet: bool = shell.arg(
@@ -244,11 +246,13 @@ class MrCalc(specs.ShellDef["MrCalc.Outputs"]):
244246
"this can be achieved by setting the MRTRIX_QUIET environment variable to "
245247
"a non-empty string."
246248
),
249+
default=False,
247250
)
248251

249252
debug: bool = shell.arg(
250253
argstr="-debug",
251254
help="""display debugging messages.""",
255+
default=False,
252256
)
253257

254258
force: bool = shell.arg(
@@ -257,6 +261,7 @@ class MrCalc(specs.ShellDef["MrCalc.Outputs"]):
257261
"force overwrite of output files (caution: using the same file as input and "
258262
"output might cause unexpected behaviour)."
259263
),
264+
default=False,
260265
)
261266

262267
nthreads: int = shell.arg(
@@ -265,6 +270,7 @@ class MrCalc(specs.ShellDef["MrCalc.Outputs"]):
265270
"use this number of threads in multi-threaded applications (set to 0 to "
266271
"disable multi-threading)."
267272
),
273+
default=None,
268274
)
269275

270276
config: MultiInputObj[tuple[str, str]] = shell.arg(
@@ -275,11 +281,13 @@ class MrCalc(specs.ShellDef["MrCalc.Outputs"]):
275281
help: bool = shell.arg(
276282
argstr="-help",
277283
help="""display this information page and exit.""",
284+
default=False,
278285
)
279286

280287
version: bool = shell.arg(
281288
argstr="-version",
282289
help="""display version information and exit.""",
290+
default=False,
283291
)
284292

285293
class Outputs(specs.ShellOutputs):

0 commit comments

Comments
 (0)