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 @@ -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 (),
You can’t perform that action at this time.
0 commit comments