Files
X06SA/script/pretend_dry.py
EPanepucci (x06sa-cons-701) 609a87a986 pulling some changes from x10sa
- bugfix: hexiposi missing "self." for method call
- pretend dry for development
- bugfix: ensure cryojet retracted in trash sample
- typos and whitespace
2023-04-26 09:29:10 +02:00

22 lines
648 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(count=0):
global samples_info
for _s in samples_info:
_s["sampleMountCount"] = count
print "sample %s mounted %d times" % (_s["puckAddress"], _s["sampleMountCount"])