alias trash to trash_sample in trash.py
This commit is contained in:
1 parent
141abf0a27
commit
bbc98bbcb3
4 files changed
+7
-7
No files matched your search
@@ -28,6 +28,7 @@ ROOM_TEMPERATURE_ENABLED_PREFERENCE = "room_temperature_enabled"
|
||||
BEAMLINE_STATUS_ENABLED_PREFERENCE = "beamline_status_enabled"
|
||||
VALVE_CONTROL_ENABLED_PREFERENCE = "valve_control"
|
||||
|
||||
|
||||
def is_imaging_enabled():
|
||||
setting = get_setting(IMAGING_ENABLED_PREFERENCE)
|
||||
return not (str(setting).lower() == 'false')
|
||||
|
||||
@@ -40,4 +40,4 @@ def trash():
|
||||
else:
|
||||
robot.move_home()
|
||||
|
||||
|
||||
trash_sample = trash
|
||||
Reference in new issue
Block a user