Skip to content

Commit f0d5490

Browse files
authored
Merge branch 'main' into brchg/submit_array
2 parents 1a39760 + 4ee819d commit f0d5490

14 files changed

+740
-405
lines changed

babs/babs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,6 @@ def babs_submit(self, count=1, df_job_specified=None):
12391239
# save updated df:
12401240
df_job_updated.to_csv(self.job_status_path_abs, index=False)
12411241
df_job_submit_updated.to_csv(self.job_submit_path_abs, index=False)
1242-
12431242
# here, the job status was not checked, so message from `report_job_status()`
12441243
# based on current df is not trustable:
12451244
# # Report the job status:

babs/utils.py

Lines changed: 726 additions & 400 deletions
Large diffs are not rendered by default.

docs/source/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ How to install ``datalad-osf``::
7676
# Install datalad-osf:
7777
pip install datalad-osf
7878

79-
# Provide your OSF credentials (token) - this step is very important!
80-
datalad osf-credentials
79+
# Provide your OSF credentials - this step is very important!
80+
datalad osf-credentials --method userpassword
8181

8282

8383
Installation reference

docs/source/walkthrough.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ Below is an example YAML file for toy BIDS App:
286286

287287
As you can see, there are several sections in this YAML file.
288288

289-
Here, in section ``singularity_run``,
290-
both ``--dummy`` and ``-v`` are dummy arguments to this toy BIDS Apps:
289+
Here, in section ``singularity_run``, ``$SUBJECT_SELECTION_FLAG`` designates the flag used for selecting participants in the BIDS app.
290+
. Additionally, both ``--dummy`` and ``-v`` are dummy arguments to this toy BIDS Apps:
291291
argument ``--dummy`` can take any value afterwards, whereas argument ``-v`` does not take values.
292292
Here we use these arguments to show examples of:
293293

notebooks/eg_fmriprep-20-2-3_anatonly.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
# Arguments in `singularity run`:
1414
singularity_run:
15+
$SUBJECT_SELECTION_FLAG: "--participant-label"
1516
-w: "$BABS_TMPDIR" # this is a placeholder recognized by BABS.
1617
--n_cpus: '1'
1718
--stop-on-first-crash: ""

notebooks/eg_fmriprep-20-2-3_ingressed-fs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# --input BIDS <path/to/raw_BIDS_dataset> # 1st input dataset \
1919
# --input freesurfer <path/to/cloned_freesurfer_output_ria> # 2nd input dataset \
2020
singularity_run:
21+
$SUBJECT_SELECTION_FLAG: "--participant-label"
2122
$INPUT_PATH: inputs/data/BIDS # the key `$INPUT_PATH` is a placeholder, which must be included first as there are two input datasets
2223
-w: "$BABS_TMPDIR" # this is a placeholder. To be changed to `${PWD}/.git/tmp/wkdir`
2324
--n_cpus: '1'

notebooks/eg_fmriprep-20-2-3_regular.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
# Arguments when executing the BIDS App using `singularity run`:
1414
singularity_run:
15+
$SUBJECT_SELECTION_FLAG: "--participant-label"
1516
-w: "$BABS_TMPDIR" # this is a placeholder recognized by BABS.
1617
--n_cpus: '1'
1718
--stop-on-first-crash: ""

notebooks/eg_fmriprep-23-1-3_anatonly.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
# Arguments in `singularity run`:
1414
singularity_run:
15+
$SUBJECT_SELECTION_FLAG: "--participant-label"
1516
-w: "$BABS_TMPDIR" # this is a placeholder recognized by BABS.
1617
--n_cpus: "1"
1718
--stop-on-first-crash: ""

notebooks/eg_fmriprep-23-1-3_ingressed-fs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# --input BIDS <path/to/raw_BIDS_dataset> # 1st input dataset \
1919
# --input fmriprep_anat <path/to/cloned_fmriprep_anat_output_ria> # 2nd input dataset \
2020
singularity_run:
21+
$SUBJECT_SELECTION_FLAG: "--participant-label"
2122
$INPUT_PATH: inputs/data/BIDS # the key `$INPUT_PATH` is a placeholder, which must be included first as there are two input datasets
2223
-w: "$BABS_TMPDIR" # this is a placeholder recognized by BABS.
2324
--n_cpus: '1'

notebooks/eg_fmriprep-23-1-3_regular.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
# Arguments in `singularity run`:
1414
singularity_run:
15+
$SUBJECT_SELECTION_FLAG: "--participant-label"
1516
-w: "$BABS_TMPDIR" # this is a placeholder recognized by BABS.
1617
--n_cpus: '1'
1718
--stop-on-first-crash: ""

0 commit comments

Comments
 (0)