Files
X10SA/script/pretend_dry.py
T
panepucci 0f25931238 unmount minor update and fake dry for testing
- unmount now returns to cold if unmounting cryo sample
  from gripper in park position
- fake dry function so that we can mount from a warmed up
  dewar without cooking the gripper
2023-03-08 14:35:04 +01:00

22 lines
637 B
Python

###
### run this file to replace the real dry() function
### with this fake version when TESTING ONLY!!!!!!
###
def dry(heat_time=None, speed=None, wait_cold = None):
"""run this file to replace the real dry() function
with this fake version when TESTING ONLY!!!!!!
"""
print "#################################"
print "## PRETENDING to DRY real fast ##"
print "#################################"
def _test_update_mount_counts():
global samples_info
for _s in samples_info:
print "sample %s mounted %d times" % (_s["puckAddress"], _s["sampleMountCount"])
_s["sampleMountCount"] = 1