From 46d69535451844501be7db89d1bc5fd2cf2b4454 Mon Sep 17 00:00:00 2001 From: rclarke0 Date: Tue, 8 Oct 2024 09:25:13 -0400 Subject: [PATCH] error handling for queued tc steps --- abr-testing/abr_testing/data_collection/read_robot_logs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abr-testing/abr_testing/data_collection/read_robot_logs.py b/abr-testing/abr_testing/data_collection/read_robot_logs.py index 224dc58a22b..be74294fbe5 100644 --- a/abr-testing/abr_testing/data_collection/read_robot_logs.py +++ b/abr-testing/abr_testing/data_collection/read_robot_logs.py @@ -426,7 +426,10 @@ def thermocycler_commands(file_results: Dict[str, Any]) -> Dict[str, float]: or commandType == "thermocycler/closeLid" ): lid_engagements += 1 - if commandType == "thermocycler/setTargetBlockTemperature": + if ( + commandType == "thermocycler/setTargetBlockTemperature" + and command["status"] != "queued" + ): block_temp = command["params"]["celsius"] block_temp_changes += 1 block_on_time = datetime.strptime(