Skip to content

Commit a40a534

Browse files
committed
Minor doctweaks
1 parent b6cf319 commit a40a534

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bidscoin/bidseditor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def samples_menu(self, pos):
341341
datatype = table.item(index, 2).text()
342342
provenance = table.item(index, 5).text()
343343
if not Path(provenance).is_file():
344-
QMessageBox.warning(self, 'Edit BIDS mapping', f"Cannot reliably change the data type and/or suffix because the source file '{provenance}' can no longer be found.\n\nPlease restore the source data or use the `bidsmapper -s` option to solve this issue")
344+
QMessageBox.warning(self, 'Edit BIDS mapping', f"Cannot reliably change the data type and/or suffix because the source file '{provenance}' can no longer be found.\n\nPlease restore the source data or use the `bidsmapper -s -f` options to solve this issue")
345345
continue
346346

347347
# Get the new run from the template

bidscoin/cli/_bidsmapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_parser() -> argparse.ArgumentParser:
4040
parser.add_argument('-n','--subprefix', help="The prefix common for all the source subject-folders (e.g. 'Pt' is the subprefix if subject folders are named 'Pt018', 'Pt019', ...). Use '*' when your subject folders do not have a prefix. Default: the value of the study/template bidsmap, e.g. 'sub-'", metavar='PREFIX')
4141
parser.add_argument('-m','--sesprefix', help="The prefix common for all the source session-folders (e.g. 'M_' is the subprefix if session folders are named 'M_pre', 'M_post', ..). Use '*' when your session folders do not have a prefix. Default: the value of the study/template bidsmap, e.g. 'ses-'", metavar='PREFIX')
4242
parser.add_argument('-u','--unzip', help='Wildcard pattern to unpack tarball/zip-files in the sub/ses sourcefolder that need to be unzipped (in a tempdir) to make the data readable. Default: the value of the study/template bidsmap', metavar='PATTERN')
43-
parser.add_argument('-s','--store', help='Store provenance data samples in the bidsfolder/code/provenance folder (useful for inspecting e.g. zipped or transferred datasets)', action='store_true')
43+
parser.add_argument('-s','--store', help='Store newly discovered data samples in the bidsfolder/code/provenance folder (useful for editing e.g. zipped or transferred datasets)', action='store_true')
4444
parser.add_argument('-a','--automated', help='Save the automatically generated bidsmap to disk and without interactively tweaking it with the bidseditor', action='store_true')
4545
parser.add_argument('-f','--force', help='Discard the previously saved bidsmap and logfile', action='store_true')
4646
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')

docs/workflow.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ Here is how to run the bidsmapper command:
7676
Wildcard pattern to unpack tarball/zip-files in the sub/ses sourcefolder that
7777
need to be unzipped (in a tempdir) to make the data readable. Default: the
7878
value of the study/template bidsmap
79-
-s, --store Store provenance data samples in the bidsfolder/code/provenance folder
80-
(useful for inspecting e.g. zipped or transferred datasets)
79+
-s, --store Store newly discovered data samples in the bidsfolder/code/provenance folder
80+
(useful for editing e.g. zipped or transferred datasets)
8181
-a, --automated Save the automatically generated bidsmap to disk and without interactively
8282
tweaking it with the bidseditor
8383
-f, --force Discard the previously saved bidsmap and log file

0 commit comments

Comments
 (0)