本文整理汇总了Python中inventory.Inventory.availableAssayPlates方法的典型用法代码示例。如果您正苦于以下问题:Python Inventory.availableAssayPlates方法的具体用法?Python Inventory.availableAssayPlates怎么用?Python Inventory.availableAssayPlates使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inventory.Inventory
的用法示例。
在下文中一共展示了Inventory.availableAssayPlates方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Inventory
# 需要导入模块: from inventory import Inventory [as 别名]
# 或者: from inventory.Inventory import availableAssayPlates [as 别名]
[["arm", {}, 1], ["ap", {"color": "dose"}, 1], ["sp", {"color": "dosing"}, 1]],
{"barcodeAP": ["match"]},
),
(
"dispenser",
[["arm", {}, 1], ["ap", {"color": "dose"}, 1], ["sp", {"color": "dosing"}, 1]],
[["arm", {}, 1], ["ap", {"color": "waiting for source"}, 1], ["sp", {"color": "free"}, 1]],
{"barcodeAP": ["match"]},
),
("incubatorOut", [["arm", {}, 1], ["ap", {"color": "complete"}, 1]], [["arm", {}, 1], ["runSlot", {}, 1]], {}),
)
inventory = Inventory("assayPlates.db")
inventory.reset()
inventory.testLoad("ZLCS000", 4, "platehub1", 5, 10)
assayPlates = inventory.availableAssayPlates()
initialTokenAssignments = {
"ap": [len(assayPlates), {"color": "new"}],
"arm": [1, {}],
"runSlot": [2, {}],
"sp": [12, {}],
}
utils.resetLog("trace_" + str(utils.sessionID) + ".txt")
petriNet = PetriNet(specs)
if False:
specs = (
("lims", [["arm", 1], ["runSlot", 1], ["ap", 1]], [["arm", 1], ["ap", 1]], {}),
("dispenser", [["ap", 1], ["arm", 1], ["sp", 1]], [["ap", 1], ["arm", 1]], {"barcodeAP": None}),
)