Skip to content

Commit

Permalink
added missing mock function store_robot_action
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-oscarsson committed Nov 29, 2024
1 parent 55bbce1 commit 35b8654
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions mxcubecore/HardwareObjects/mockup/ISPyBClientMockup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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" <code> and/or
Expand Down

0 comments on commit 35b8654

Please sign in to comment.