Skip to content

Commit

Permalink
Injected schema 0.11.3 for BIDS 1.10.0 as of commit v1.10.0 into vers…
Browse files Browse the repository at this point in the history
…ions/1.10.0
  • Loading branch information
yarikoptic committed Nov 11, 2024
1 parent 4c3d889 commit 6214096
Show file tree
Hide file tree
Showing 172 changed files with 19,547 additions and 1,069 deletions.
1 change: 1 addition & 0 deletions versions/1.10.0/BIDS_VERSION_LASTEDIT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v1.10.0
1 change: 1 addition & 0 deletions versions/1.10.0/schema.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions versions/1.10.0/schema/BIDS_VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.10.0
1,053 changes: 1,053 additions & 0 deletions versions/1.10.0/schema/README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions versions/1.10.0/schema/SCHEMA_VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.11.3
92 changes: 92 additions & 0 deletions versions/1.10.0/schema/meta/associations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# These rules indicate whether an association (defined in meta.context.associations)
# applies to a given file. These are hints to allow implementations to avoid unnecessary
# directory and file reads.
#
# Structure:
#
# - "selectors" is a sequence of expressions that apply to a file that may have an association.
# If matched, a tool MUST attempt to find the associated file.
# - "target" contains a set of path components that may be used to search for the associated file.
# These override the path components of the original file and MUST match for the associated file.
# A list of values, such as extensions, indicates multiple possible matches.
# - "inherit" is a boolean indicating whether the associated file may be found at a shallower level
# of the hierarchy.
---
events:
selectors:
- 'task in entities'
- extension != '.json'
target:
suffix: events
extension: .tsv
inherit: true

aslcontext:
selectors:
- suffix == 'asl'
- match(extension, '\.nii(\.gz)?$')
target:
suffix: aslcontext
extension: .tsv
inherit: true

m0scan:
selectors:
- suffix == 'asl'
- match(extension, '\.nii(\.gz)?$')
target:
suffix: m0scan
extension: [.nii, .nii.gz]
inherit: false

magnitude:
selectors:
- suffix == 'fieldmap'
- match(extension, '\.nii(\.gz)?$')
target:
suffix: magnitude
extension: [.nii, .nii.gz]
inherit: false

magnitude1:
selectors:
- match(suffix, 'phase(diff|1)$')
- match(extension, '\.nii(\.gz)?$')
target:
suffix: magnitude1
extension: [.nii, .nii.gz]
inherit: false

bval:
selectors:
- intersects([suffix], ['dwi', 'epi'])
- match(extension, '\.nii(\.gz)?$')
target:
extension: .bval
inherit: true

bvec:
selectors:
- intersects([suffix], ['dwi', 'epi'])
- match(extension, '\.nii(\.gz)?$')
target:
extension: .bvec
inherit: true

channels:
selectors:
- intersects([suffix], ['eeg', 'ieeg', 'meg', 'nirs', 'motion', 'optodes'])
- extension != '.json'
target:
suffix: channels
extension: .tsv
inherit: true

coordsystem:
selectors:
- intersects([suffix], ['eeg', 'ieeg', 'meg', 'nirs', 'motion', 'electrodes', 'optodes'])
- extension != '.json'
target:
suffix: coordsystem
extension: .json
inherit: true
Loading

0 comments on commit 6214096

Please sign in to comment.