Skip to content

Commit

Permalink
Merge pull request #742 from NeurodataWithoutBorders/fix-definitions-…
Browse files Browse the repository at this point in the history
…in-requirements

Remove Definitions from Ophys Requirements
  • Loading branch information
CodyCBakerPhD authored Apr 11, 2024
2 parents f0a5de8 + 7ec10c0 commit 596cf43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemas/base-metadata.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export const preprocessMetadataSchema = (schema: any = baseMetadataSchema, globa

if (ophys) {

ophys.required = Object.keys(ophys.properties)
ophys.required = Object.keys(ophys.properties).filter(prop => prop !== 'definitions')

const getProp = (name: string) => ophys.properties[name]

Expand Down

0 comments on commit 596cf43

Please sign in to comment.