Skip to content

Commit 9c448d5

Browse files
committed
removing stray field
1 parent f59e7da commit 9c448d5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pages/hermes/new.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ const formSchema = yup.object({
7474
then: (schema) => schema.required('You must specify mean diagnosis age when you specify cases'),
7575
otherwise: (schema) => schema,
7676
}),
77-
sdDiagnosisAge: yup.number().positive('Standard deviation diagnosis age must be positive')
78-
.label('Standard Deviation diagnosis age').transform(value => (isNaN(value) ? undefined : value)).when("cases", {
79-
is: (value) => value > 0,
80-
then: (schema) => schema.required('You must mean diagnosis age when you specify cases'),
81-
otherwise: (schema) => schema,
82-
}),
8377
referenceGenome: yup.string().label('Reference Genome').required(),
8478
genotypingArray: yup.string().label('Genotyping Array').required(),
8579
callingAlgorithm: yup.string().label('Calling Algorithm').required(),

0 commit comments

Comments
 (0)