File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff 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 (),
You can’t perform that action at this time.
0 commit comments