Skip to content

Commit

Permalink
feat(shared-data): Add backwards compatible pipettes to new pipette c…
Browse files Browse the repository at this point in the history
…onfigurations (#12514)

* add backcompat name

* clean up build script, add backcompat to pipette definition

* expose backcompat names in pipette obj

---------

Co-authored-by: Seth Foster <[email protected]>
  • Loading branch information
Laura-Danielle and sfoster1 authored Apr 24, 2023
1 parent 6c3d083 commit ba67b77
Show file tree
Hide file tree
Showing 63 changed files with 132 additions and 230 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ def as_dict(self) -> "Pipette.DictType":
"fw_update_required": self._fw_update_info.update_required,
"fw_current_version": self._fw_update_info.current_version,
"fw_next_version": self._fw_update_info.next_version,
"back_compat_names": self._config.pipette_backcompat_names,
}
)
return self._config_as_dict
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def get_attached_instrument(self, mount: OT3Mount) -> PipetteDict:
"default_aspirate_flow_rates",
"default_blow_out_flow_rates",
"default_dispense_flow_rates",
"back_compat_names",
]

instr_dict = instr.as_dict()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"partialTipSupported": true,
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 9.0,
"shaftULperMM": 63.617
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"partialTipSupported": true,
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"partialTipSupported": true,
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"partialTipSupported": true,
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": ["p10_multi"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": ["p10_multi"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 5.0,
"shaftULperMM": 19.635
"shaftULperMM": 19.635,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 5.0,
"shaftULperMM": 19.635
"shaftULperMM": 19.635,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 5.0,
"shaftULperMM": 19.635
"shaftULperMM": 19.635,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 5.0,
"shaftULperMM": 19.635
"shaftULperMM": 19.635,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 3.5,
"shaftULperMM": 9.621
"shaftULperMM": 9.621,
"backCompatNames": ["p300_multi"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 3.5,
"shaftULperMM": 9.621
"shaftULperMM": 9.621,
"backCompatNames": ["p300_multi"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 2.0,
"shaftULperMM": 3.142
"shaftULperMM": 3.142,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 2.0,
"shaftULperMM": 3.142
"shaftULperMM": 3.142,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 2.0,
"shaftULperMM": 3.142
"shaftULperMM": 3.142,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 8,
"shaftDiameter": 2.0,
"shaftULperMM": 3.142
"shaftULperMM": 3.142,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"partialTipSupported": true,
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"partialTipSupported": true,
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"partialTipSupported": true,
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"partialTipSupported": true,
"availableConfigurations": [1, 8, 12, 96]
},
"backCompatNames": [],
"channels": 96,
"shaftDiameter": 9.0,
"shaftULperMM": 63.617
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"partialTipSupported": true,
"availableConfigurations": [1, 8, 12, 96]
},
"backCompatNames": [],
"channels": 96,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"partialTipSupported": true,
"availableConfigurations": [1, 8, 12, 96]
},
"backCompatNames": [],
"channels": 96,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"partialTipSupported": true,
"availableConfigurations": [1, 8, 12, 96]
},
"backCompatNames": [],
"channels": 96,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 9.0,
"shaftULperMM": 63.617
"shaftULperMM": 63.617,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 9.0,
"shaftULperMM": 63.617
"shaftULperMM": 63.617,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 9.0,
"shaftULperMM": 63.617
"shaftULperMM": 63.617,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 9.0,
"shaftULperMM": 63.617
"shaftULperMM": 63.617,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 6.0,
"shaftULperMM": 28.274
"shaftULperMM": 28.274,
"backCompatNames": ["p1000_single"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 6.0,
"shaftULperMM": 28.274
"shaftULperMM": 28.274,
"backCompatNames": ["p1000_single"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 6.0,
"shaftULperMM": 28.274
"shaftULperMM": 28.274,
"backCompatNames": ["p1000_single"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"environment": { "count": 1 }
},
"partialTipConfigurations": { "partialTipSupported": false },
"backCompatNames": [],
"channels": 1,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"environment": { "count": 1 }
},
"partialTipConfigurations": { "partialTipSupported": false },
"backCompatNames": [],
"channels": 1,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"environment": { "count": 1 }
},
"partialTipConfigurations": { "partialTipSupported": false },
"backCompatNames": [],
"channels": 1,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": ["p10_single"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": ["p10_single"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785
"shaftULperMM": 0.785,
"backCompatNames": ["p10_single"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 5.0,
"shaftULperMM": 19.635
"shaftULperMM": 19.635,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 5.0,
"shaftULperMM": 19.635
"shaftULperMM": 19.635,
"backCompatNames": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
},
"channels": 1,
"shaftDiameter": 5.0,
"shaftULperMM": 19.635
"shaftULperMM": 19.635,
"backCompatNames": []
}
Loading

0 comments on commit ba67b77

Please sign in to comment.