File tree 3 files changed +10
-3
lines changed
3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -578,7 +578,12 @@ def _parse_purge():
578
578
"scans" ,
579
579
type = IsFile ,
580
580
action = "store" ,
581
- help = "path to the txt file of scans whose associations should be purged." ,
581
+ help = (
582
+ "path to the txt file of scans whose associations should be purged. "
583
+ "When specifying files in this txt file, "
584
+ "always use relative paths starting from your BIDS directory. "
585
+ "e.g., ``sub-01/ses-01/func/sub-01_ses-01_task-rest_bold.nii.gz``"
586
+ ),
582
587
)
583
588
parser .add_argument (
584
589
"--use-datalad" ,
Original file line number Diff line number Diff line change @@ -726,7 +726,7 @@ def purge(self, scans_txt):
726
726
scans_txt : str
727
727
path to the .txt file that lists the scans
728
728
you want to be deleted from the dataset, along
729
- with thier associations.
729
+ with their associations.
730
730
example path: /Users/Covitz/CCNP/scans_to_delete.txt
731
731
"""
732
732
self .scans_txt = scans_txt
Original file line number Diff line number Diff line change @@ -211,13 +211,15 @@ To do this, we run the ``cubids purge`` command.
211
211
``cubids purge `` requires as input a list of files to cleanly "purge" from the dataset.
212
212
You can create this file in any text editor,
213
213
as long as it is saved as plain text ``.txt ``.
214
+ When specifying files in this text file,
215
+ always use relative paths starting from your BIDS directory.
214
216
For this example, we created the following file:
215
217
216
218
.. code-block :: console
217
219
218
220
$ cat no_ped.txt
219
221
220
- /AN/EXAMPLE/PATH/CuBIDS_Test/BIDS_Dataset_Datalad/ sub-02/ses-phdiff/func/sub-02_ses-phdiff_task-rest_bold.nii.gz
222
+ sub-02/ses-phdiff/func/sub-02_ses-phdiff_task-rest_bold.nii.gz
221
223
222
224
223
225
and saved it in our ``CuBIDS_Test directory ``.
You can’t perform that action at this time.
0 commit comments