From efa78aa9a68af993fc90494f27a62a38d6ba89d0 Mon Sep 17 00:00:00 2001 From: Noemi Frisina Date: Fri, 19 Jul 2024 16:28:51 +0100 Subject: [PATCH] Remove obsolete check --- .../I24/serial/fixed_target/i24ssx_Chip_Collect_py3v1.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/mx_bluesky/I24/serial/fixed_target/i24ssx_Chip_Collect_py3v1.py b/src/mx_bluesky/I24/serial/fixed_target/i24ssx_Chip_Collect_py3v1.py index 377faa703..d101337a5 100755 --- a/src/mx_bluesky/I24/serial/fixed_target/i24ssx_Chip_Collect_py3v1.py +++ b/src/mx_bluesky/I24/serial/fixed_target/i24ssx_Chip_Collect_py3v1.py @@ -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( """