Skip to content

Commit

Permalink
Merge pull request #850 from sanger/x1262-sectionThickness
Browse files Browse the repository at this point in the history
X1262 section thickness
  • Loading branch information
sabrine33 authored Dec 11, 2024
2 parents 2fcfa33 + 4355dd9 commit e00f66d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/planning/LabwarePlan.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ const LabwarePlan = React.forwardRef<HTMLDivElement, LabwarePlanProps>(
label={'Section Thickness'}
name={'sectionThickness'}
type={'number'}
min={1}
step={1}
min={0.5}
step={0.5}
/>
)}
{(outputLabware.labwareType.name === LabwareTypeName.VISIUM_LP ||
Expand Down
2 changes: 1 addition & 1 deletion src/lib/validation/registrationValidation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export default class RegistrationValidation {
});
}
get sectionThickness() {
return Yup.number().integer().min(0).label('Section Thickness');
return Yup.number().min(0).label('Section Thickness');
}

get labwareType() {
Expand Down

0 comments on commit e00f66d

Please sign in to comment.