Skip to content

Commit

Permalink
fix(app): fix tc module calibration issue (#13619)
Browse files Browse the repository at this point in the history
* fix(app): fix tc module calibration issue
  • Loading branch information
koji authored Sep 21, 2023
1 parent 8677b18 commit 6f2a985
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
4 changes: 0 additions & 4 deletions app/src/organisms/Devices/getModulePrepCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ export function getModulePrepCommands(
let modulePrepCommands: ModulePrepCommandsType[] = []
if (module.id != null && module.moduleType === THERMOCYCLER_MODULE_TYPE) {
modulePrepCommands = [
{
commandType: 'thermocycler/closeLid',
params: { moduleId: module.id },
},
{
commandType: 'thermocycler/deactivateLid',
params: { moduleId: module.id },
Expand Down
2 changes: 1 addition & 1 deletion app/src/organisms/ModuleWizardFlows/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ export const FLEX_SLOT_NAMES_BY_MOD_TYPE: {
} = {
[HEATERSHAKER_MODULE_TYPE]: ['D1', 'C1', 'B1', 'A1', 'D3', 'C3', 'B3'],
[TEMPERATURE_MODULE_TYPE]: ['D1', 'C1', 'B1', 'A1', 'D3', 'C3', 'B3'],
[THERMOCYCLER_MODULE_TYPE]: ['A1'],
[THERMOCYCLER_MODULE_TYPE]: ['B1'],
}
export const LEFT_SLOTS: string[] = ['A1', 'B1', 'C1', 'D1']
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,6 @@ describe('ModuleCalibrationOverflowMenu', () => {
await waitFor(() => {
expect(mockChainLiveCommands).toHaveBeenCalledWith(
[
{
commandType: 'thermocycler/closeLid',
params: {
moduleId: mockTCHeating.id,
},
},
{
commandType: 'thermocycler/deactivateLid',
params: {
Expand Down

0 comments on commit 6f2a985

Please sign in to comment.