Skip to content

Commit 176afda

Browse files
committed
Doctweaks
1 parent e651b4b commit 176afda

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

bidscoin/cli/_bidscoiner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ def get_parser():
3434
parser.add_argument('-b','--bidsmap', help='The study bidsmap file with the mapping heuristics. If the bidsmap filename is just the base name (i.e. no "/" in the name) then it is assumed to be located in the current directory or in bidsfolder/code/bidscoin. Default: bidsmap.yaml', metavar='NAME', default='bidsmap.yaml')
3535
parser.add_argument('-f','--force', help='Process all subjects, regardless of existing subject folders in the bidsfolder. Otherwise these subject folders will be skipped', action='store_true')
3636
parser.add_argument('-c','--cluster', help='Use the DRMAA library to submit the bidscoiner jobs to a high-performance compute (HPC) cluster. You can add an opaque DRMAA argument with native specifications for your HPC resource manager (NB: Use quotes and include at least one space character to prevent premature parsing -- see examples)', metavar='SPECS', nargs='?', const='-l walltime=00:30:00,mem=4gb', type=str)
37-
parser.add_argument('-w','--workdir', help='Optional working directory for temporary unpacking of zipped or DICOMDIR data. Defaults to the system temporary folder if not specified', default='')
37+
parser.add_argument('-w','--workdir', help='Optional working directory for temporary unpacking of zipped or DICOMDIR data. Defaults to the system temporary folder if not specified', metavar='PATH', default='')
3838

3939
return parser

bidscoin/cli/_bidsmapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_parser() -> argparse.ArgumentParser:
4444
parser.add_argument('-s','--store', help='Store newly discovered data samples in the bidsfolder/code/provenance folder (useful for editing e.g. zipped or DICOMDIR datasets)', action='store_true')
4545
parser.add_argument('-a','--automated', help='Save the automatically generated bidsmap to disk and without interactively tweaking it with the bidseditor', action='store_true')
4646
parser.add_argument('-f','--force', help='Discard the previously saved bidsmap and log file, instead of reusing them (use this option for a fresh start)', action='store_true')
47-
parser.add_argument('-w','--workdir', help='Optional working directory for temporary unpacking of zipped or DICOMDIR data. Defaults to the system temporary folder if not specified', default='')
47+
parser.add_argument('-w','--workdir', help='Optional working directory for temporary unpacking of zipped or DICOMDIR data. Defaults to the system temporary folder if not specified', metavar='PATH', default='')
4848
parser.add_argument('--no-update', help="Do not update any sub-/ses-prefixes in or prepend the sourcefolder name to the <<filepath:regex>> expression that extracts the subject/session labels. This is normally done to make the extraction more robust, but could cause problems for certain use cases", action='store_true')
4949

5050
return parser

docs/workflow.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ Here is how to run the bidsmapper command:
8282
tweaking it with the bidseditor
8383
-f, --force Discard the previously saved bidsmap and log file, instead of reusing them
8484
(use this option for a fresh start)
85+
-w, --workdir PATH Optional working directory for temporary unpacking of zipped or DICOMDIR data.
86+
Defaults to the system temporary folder if not specified
8587
--no-update Do not update any sub-/ses-prefixes in or prepend the sourcefolder name to the
8688
<<filepath:regex>> expression that extracts the subject/session labels. This
8789
is normally done to make the extraction more robust, but could cause problems
@@ -263,6 +265,8 @@ Here is how to run the bidscoiner command:
263265
compute (HPC) cluster. You can add an opaque DRMAA argument with native
264266
specifications for your HPC resource manager (NB: Use quotes and include at
265267
least one space character to prevent premature parsing -- see examples)
268+
-w, --workdir PATH Optional working directory for temporary unpacking of zipped or DICOMDIR data.
269+
Defaults to the system temporary folder if not specified
266270

267271
::
268272

0 commit comments

Comments
 (0)