Skip to content

Commit

Permalink
SCHEMA: Add data array accessor to context
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Sep 8, 2023
1 parent fc98780 commit ffe28ff
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/schema/meta/context.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,19 @@ context:
comment:
description: 'Comment'
type: string
data:
# This is currently only used for checking bval/bvec shape
# This may need to be reconsidered if we start checking data contents
# or >2D shapes
description: 'Metadata about the data array held in a file'
type: object
properties:
n_rows:
description: 'Number of rows in aslcontext.tsv'
type: integer
n_cols:
description: 'Number of rows in aslcontext.tsv'
type: integer
nifti_header:
name: 'NIfTI Header'
description: 'Parsed contents of NIfTI header referenced elsewhere in schema.'
Expand Down

0 comments on commit ffe28ff

Please sign in to comment.