Skip to content

Commit

Permalink
Remove obsolete check
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina committed Jul 19, 2024
1 parent 3d8b1e6 commit efa78aa
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -669,14 +669,6 @@ def main_fixed_target_plan(
flush_print(line_of_text)
sleep(0.5)
i += 1
status = yield from bps.rd(pmac.scanstatus)
if int(status) == 0:
# As soon as the PVAR P2401 is set to 0, exit.
# Epics checks the geobrick and updates this PV every 1s or so.
# Once the collection is done, it will be set to 0.
print(status)
logger.warning("Data Collection Finished")
break
if time.time() >= timeout_time:
logger.warning(
"""
Expand Down

0 comments on commit efa78aa

Please sign in to comment.