Skip to content

Commit 89806ca

Browse files
committed
removing (another) stray field
1 parent 9c448d5 commit 89806ca

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
@@ -68,12 +68,6 @@ const formSchema = yup.object({
6868
then: (schema) => schema.required('You must specifiy standard deviation age (controls) when you specify cases'),
6969
otherwise: (schema) => schema,
7070
}),
71-
meanDiagnosisAge: yup.number().positive('Mean diagnosis age must be positive')
72-
.label('Mean diagnosis age').transform(value => (isNaN(value) ? undefined : value)).when("cases", {
73-
is: (value) => value > 0,
74-
then: (schema) => schema.required('You must specify mean diagnosis age when you specify cases'),
75-
otherwise: (schema) => schema,
76-
}),
7771
referenceGenome: yup.string().label('Reference Genome').required(),
7872
genotypingArray: yup.string().label('Genotyping Array').required(),
7973
callingAlgorithm: yup.string().label('Calling Algorithm').required(),

0 commit comments

Comments
 (0)