Skip to content

Commit 596cf43

Browse files
Merge pull request #742 from NeurodataWithoutBorders/fix-definitions-in-requirements
Remove Definitions from Ophys Requirements
2 parents f0a5de8 + 7ec10c0 commit 596cf43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schemas/base-metadata.schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export const preprocessMetadataSchema = (schema: any = baseMetadataSchema, globa
176176

177177
if (ophys) {
178178

179-
ophys.required = Object.keys(ophys.properties)
179+
ophys.required = Object.keys(ophys.properties).filter(prop => prop !== 'definitions')
180180

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

0 commit comments

Comments
 (0)