alias trash to trash_sample in trash.py

This commit is contained in:
gac-S_Changer
2022-02-10 09:45:56 +01:00
parent 141abf0a27
commit bbc98bbcb3
4 changed files with 7 additions and 7 deletions
+1
View File
@@ -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')
+1 -1
View File
@@ -40,4 +40,4 @@ def trash():
else:
robot.move_home()
trash_sample = trash