Skip to content

Commit

Permalink
[DATALAD RUNCMD] Replace mentionings of rules/datatypes with rules/fi…
Browse files Browse the repository at this point in the history
…les/raw (#1362)

Was suggestsed in one of the files within
https://github.com/bids-standard/bids-specification/pull/1128/files#diff-374b38cbccac62b8efa8e4ab2552cf9be8ba9eff7c45025abfc6da27d461a37b

and is needed to the recent refactoring done in 251f440
(#883)

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "git-sedi 'rules\\/datatypes' 'rules\\/files\\/raw'",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic authored Dec 4, 2022
1 parent a1c7dfc commit cba4ebc
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 40 deletions.
4 changes: 2 additions & 2 deletions src/appendices/file-collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ included in this appendix:
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -60,7 +60,7 @@ and a guide for using macros can be found at
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down
2 changes: 1 addition & 1 deletion src/appendices/qmri.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Explanation of the table:
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down
2 changes: 1 addition & 1 deletion src/modality-specific-files/behavioral-experiments.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down
10 changes: 5 additions & 5 deletions src/modality-specific-files/electroencephalography.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ and can be used for practical guidance when curating a new dataset.
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -184,7 +184,7 @@ Date time information MUST be expressed as indicated in [Units](../common-princi
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -263,7 +263,7 @@ UADC001 MISC n/a envelope of audio signal n/a good n/a
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -310,7 +310,7 @@ the recording.
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -428,7 +428,7 @@ Photos of the anatomical landmarks and/or fiducials.
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ and can be used for practical guidance when curating a new dataset.
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -204,7 +204,7 @@ Date time information MUST be expressed as indicated in [Units](../common-princi
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -281,7 +281,7 @@ TR1 TRIG n/a n/a n/a good n/a
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -355,7 +355,7 @@ H01 27 -42 -21 5 AdTech
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -435,7 +435,7 @@ data.
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down
28 changes: 14 additions & 14 deletions src/modality-specific-files/magnetic-resonance-imaging-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ whenever possible. See also
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand All @@ -179,7 +179,7 @@ Currently supported non-parametric structural MR images include:
<!--
This block generates a suffix table.
The definitions of these fields can be found in
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -284,7 +284,7 @@ constitute parametric maps. Currently supported parametric maps include:
<!--
This block generates a suffix table.
The definitions of these fields can be found in
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -336,7 +336,7 @@ datasets (created after version 1.5.0.):
<!--
This block generates a suffix table.
The definitions of these fields can be found in
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand All @@ -356,7 +356,7 @@ Currently supported image contrasts include:
<!--
This block generates a suffix table.
The definitions of these fields can be found in
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand All @@ -372,7 +372,7 @@ and a guide for using macros can be found at
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -565,7 +565,7 @@ Currently supported image types include:
<!--
This block generates a suffix table.
The definitions of these fields can be found in
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand All @@ -580,7 +580,7 @@ and a guide for using macros can be found at
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -790,7 +790,7 @@ and can be used for practical guidance when curating a new dataset.
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -947,7 +947,7 @@ using the following image types:
<!--
This block generates a suffix table.
The definitions of these fields can be found in
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -1022,7 +1022,7 @@ containing that type of fieldmap can be found here:
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -1068,7 +1068,7 @@ second echos are available.
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -1104,7 +1104,7 @@ In some cases (for example GE), the scanner software will directly reconstruct a
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -1153,7 +1153,7 @@ AFNI `3dqwarp`.
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down
10 changes: 5 additions & 5 deletions src/modality-specific-files/magnetoencephalography.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ the [BIDS examples repository](https://github.com/bids-standard/bids-examples).
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -204,7 +204,7 @@ Date time information MUST be expressed as indicated in [Units](../common-princi
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -286,7 +286,7 @@ UADC001 AUDIO V envelope of audio signal presented to participant
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -399,7 +399,7 @@ Photos of the anatomical landmarks and/or head localization coils
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -428,7 +428,7 @@ actual anatomical nasion: `sub-0001_ses-001_acq-NAS_photo.jpg`
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down
6 changes: 3 additions & 3 deletions src/modality-specific-files/microscopy.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Further Microscopy datasets are available:
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -66,7 +66,7 @@ Microscopy data currently support the following imaging modalities:
<!--
This block generates a suffix table.
The definitions of these fields can be found in
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -434,7 +434,7 @@ in a sample.
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down
4 changes: 2 additions & 2 deletions src/modality-specific-files/positron-emission-tomography.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ In this example, tracer injection coincides with scan start.
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down Expand Up @@ -297,7 +297,7 @@ ses-02 59
<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/datatypes
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
Expand Down
2 changes: 1 addition & 1 deletion src/schema/objects/datatypes.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# This file defines valid BIDS datatypes, along with their full names and descriptions.
# For rules regarding how suffixes relate to datatypes, see files in `rules/datatypes/`.
# For rules regarding how suffixes relate to datatypes, see files in `rules/files/raw/`.
anat:
value: anat
display_name: Anatomical Magnetic Resonance Imaging
Expand Down
2 changes: 1 addition & 1 deletion src/schema/objects/suffixes.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# This file defines valid BIDS file suffixes.
# For rules regarding how suffixes relate to datatypes, see files in `rules/datatypes/`.
# For rules regarding how suffixes relate to datatypes, see files in `rules/files/raw/`.
TwoPE:
value: 2PE
display_name: 2-photon excitation microscopy
Expand Down

0 comments on commit cba4ebc

Please sign in to comment.