Skip to content

Commit e59fb17

Browse files
committed
add --n-cpus to cubids apply
1 parent e5bc1c9 commit e59fb17

File tree

4 files changed

+218
-116
lines changed

4 files changed

+218
-116
lines changed

cubids/cli.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,20 @@ def _parse_apply():
535535
required=False,
536536
)
537537

538+
parser.add_argument(
539+
"--n-cpus",
540+
"--n_cpus",
541+
type=int,
542+
action="store",
543+
dest="n_cpus",
544+
default=1,
545+
help=(
546+
"Number of CPUs to use for datalad jobs. "
547+
"Used as --jobs for datalad save and datalad run."
548+
),
549+
required=False,
550+
)
551+
538552
return parser
539553

540554

0 commit comments

Comments
 (0)