Skip to content

Commit

Permalink
[DATALAD RUNCMD] compliment each reconstruction with processing entity
Browse files Browse the repository at this point in the history
=== Do not change lines below ===
{
 "chain": [
  "e58542b95bdb7551638ee0e2bf337583cec55c07"
 ],
 "cmd": "git grep -l 'reconstruction: opt' | xargs sed -e 's,^\\( *\\)\\(reconstruction: optional\\),\\1\\2\\n\\1processing: optional,g' -i ",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "src"
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic committed Dec 16, 2022
1 parent 766f7db commit 24947f2
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/schema/rules/files/raw/anat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ nonparametric:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
part: optional

Expand Down Expand Up @@ -61,6 +62,7 @@ parametric:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional

defacemask:
Expand All @@ -79,6 +81,7 @@ defacemask:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
modality: optional

Expand All @@ -99,6 +102,7 @@ multiecho:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
echo: required
part: optional
Expand All @@ -119,6 +123,7 @@ multiflip:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
echo: optional
flip: required
Expand All @@ -140,6 +145,7 @@ multiinversion:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
inversion: required
part: optional
Expand All @@ -160,6 +166,7 @@ mp2rage:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
echo: optional
flip: optional
Expand All @@ -183,6 +190,7 @@ vfamt:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
echo: optional
flip: required
Expand All @@ -205,6 +213,7 @@ mtr:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
mtransfer: required
part: optional
2 changes: 2 additions & 0 deletions src/schema/rules/files/raw/dwi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dwi:
session: optional
acquisition: optional
reconstruction: optional
processing: optional
direction: optional
run: optional
part: optional
Expand All @@ -33,6 +34,7 @@ sbref:
session: optional
acquisition: optional
reconstruction: optional
processing: optional
direction: optional
run: optional
part: optional
5 changes: 5 additions & 0 deletions src/schema/rules/files/raw/fmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ TB1DAM:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
flip: required
inversion: optional
Expand All @@ -73,6 +74,7 @@ TB1EPI:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
echo: required
flip: required
Expand All @@ -97,6 +99,7 @@ RFFieldMaps:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
echo: optional
flip: optional
Expand All @@ -118,6 +121,7 @@ TB1SRGE:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
echo: optional
flip: required
Expand All @@ -140,4 +144,5 @@ parametric:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
run: optional
2 changes: 2 additions & 0 deletions src/schema/rules/files/raw/func.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
direction: optional
run: optional
echo: optional
Expand All @@ -38,6 +39,7 @@ phase:
acquisition: optional
ceagent: optional
reconstruction: optional
processing: optional
direction: optional
run: optional
echo: optional
3 changes: 3 additions & 0 deletions src/schema/rules/files/raw/perf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ asl:
session: optional
acquisition: optional
reconstruction: optional
processing: optional
direction: optional
run: optional

Expand All @@ -30,6 +31,7 @@ aslcontext:
session: optional
acquisition: optional
reconstruction: optional
processing: optional
direction: optional
run: optional

Expand All @@ -45,4 +47,5 @@ asllabeling:
session: optional
acquisition: optional
reconstruction: optional
processing: optional
run: optional
2 changes: 2 additions & 0 deletions src/schema/rules/files/raw/pet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pet:
task: optional
tracer: optional
reconstruction: optional
processing: optional
run: optional

blood:
Expand All @@ -30,5 +31,6 @@ blood:
task: optional
tracer: optional
reconstruction: optional
processing: optional
run: optional
recording: required
4 changes: 4 additions & 0 deletions src/schema/rules/files/raw/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ events__mri:
$ref: rules.files.raw.task.events.entities
ceagent: optional
reconstruction: optional
processing: optional
direction: optional

events__pet:
Expand All @@ -62,6 +63,7 @@ events__pet:
task: required
tracer: optional
reconstruction: optional
processing: optional
run: optional

timeseries__mri:
Expand All @@ -72,6 +74,7 @@ timeseries__mri:
entities:
$ref: rules.files.raw.task.timeseries.entities
reconstruction: optional
processing: optional
direction: optional

timeseries__func:
Expand Down Expand Up @@ -101,5 +104,6 @@ timeseries__pet:
task: required
tracer: optional
reconstruction: optional
processing: optional
run: optional
recording: optional

0 comments on commit 24947f2

Please sign in to comment.