Skip to content

Commit

Permalink
fixes #273
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian authored Jan 31, 2020
1 parent 670b187 commit 502db5f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apstools/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,11 @@ def inUserOperations(self):
pass
"""
verdict = self.machine_status.value in (1, "USER OPERATIONS")
# verdict = verdict and self.operating_mode.value not in (5, "MAINTENANCE")
valid_modes = (
1, "USER OPERATIONS",
2, "Bm Ln Studies"
)
verdict = self.machine_status.value in valid_modes
return verdict


Expand Down

0 comments on commit 502db5f

Please sign in to comment.