alias trash to trash_sample in trash.py
This commit is contained in:
@@ -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