From 35b8654963d2ea032444e18aba1b12d77c009063 Mon Sep 17 00:00:00 2001 From: Marcus Oskarsson Date: Fri, 29 Nov 2024 15:01:24 +0100 Subject: [PATCH] added missing mock function store_robot_action --- .../mockup/ISPyBClientMockup.py | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/mxcubecore/HardwareObjects/mockup/ISPyBClientMockup.py b/mxcubecore/HardwareObjects/mockup/ISPyBClientMockup.py index 183b6b7b49..0bdcd35b92 100644 --- a/mxcubecore/HardwareObjects/mockup/ISPyBClientMockup.py +++ b/mxcubecore/HardwareObjects/mockup/ISPyBClientMockup.py @@ -280,6 +280,30 @@ def store_image(self, image_dict): """ pass + def store_robot_action(self, robot_action_dict): + """ + Stores the robot action dictionary. + + Structure of robot_action_dictionary: + { + "actionType":str, + "containerLocation": str, + "dewarLocation":str, + "message":str, + "sampleBarcode":str, + "sessionId":int, + "sampleId":int. + "startTime":str, + "endTime":str, + "xtalSnapshotAfter:str", + "xtalSnapshotBefore:str", + } + + Args: + robot_action_dict: robot action dictionary as defined above + """ + pass + def __find_sample(self, sample_ref_list, code=None, location=None): """ Returns the sample with the matching "search criteria" and/or