Skip to content

Commit e4e59f1

Browse files
committed
1 parent 1aae732 commit e4e59f1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,14 @@ datalad run -m "Downgrade/Freeze mriqc container version" \
172172
# hardcode for mriqc to workaround an issue. So let's remove it
173173
datalad run -m "Remove ad-hoc option for mriqc for older frozen version" sed -i -e 's, --no-datalad-get,,g' .datalad/config
174174
# Install input data:
175-
datalad install -d . -s https://github.com/ReproNim/ds000003-demo sourcedata
175+
datalad install -d . -s https://github.com/ReproNim/ds000003-demo sourcedata/raw
176176
# Setup git to ignore workdir to be used by pipelines
177177
echo "workdir/" > .gitignore && datalad save -m "Ignore workdir" .gitignore
178178
# Execute desired preprocessing while creating a provenance record
179179
# in git history
180180
datalad containers-run \
181181
-n bids-mriqc \
182-
--input sourcedata \
182+
--input sourcedata/raw \
183183
--output . \
184184
'{inputs}' '{outputs}' participant group -w workdir
185185
)
@@ -220,7 +220,8 @@ Now let's take a look at what we have.
220220
221221
```
222222
/ds000003-qc # The root dataset contains everything
223-
|--/sourcedata # we call it source, but it is actually ds000003-demo
223+
|--/sourcedata
224+
| raw/ # we call it source, but it is actually ds000003-demo "raw" BIDS dataset
224225
|--/code/containers # repronim/containers, this is where our non-custom code lives
225226
```
226227
@@ -289,7 +290,7 @@ Now we use `datalad containers-run` to perform the analysis.
289290
```bash
290291
datalad containers-run \
291292
-n bids-mriqc \
292-
--input sourcedata \
293+
--input sourcedata/raw \
293294
--output . \
294295
'{inputs}' '{outputs}' participant group -w workdir
295296
```
@@ -316,7 +317,7 @@ Date: Wed Jun 5 15:41:59 2024 -0400
316317
"code/containers/images/bids/bids-mriqc--0.16.0.sing"
317318
],
318319
"inputs": [
319-
"sourcedata"
320+
"sourcedata/raw"
320321
],
321322
"outputs": [
322323
"."

0 commit comments

Comments
 (0)