From 3928f28cc0b2c0cb55c0bb6cfbcf084367536e27 Mon Sep 17 00:00:00 2001 From: John Henry Beale Date: Mon, 15 Jun 2026 10:21:33 +0200 Subject: [PATCH] remove master wait block. JF files now closed properly when written. All good i think. --- src/clara.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/clara.py b/src/clara.py index 8ea3769..dca12ba 100755 --- a/src/clara.py +++ b/src/clara.py @@ -565,17 +565,6 @@ class CollectedH5: jf_path = file_path - master_path = slash / Path(filen[:-19] + '_master.h5') - print(master_path) - file_exists = os.path.exists(master_path) - st = time.perf_counter() - while not file_exists: - time.sleep(1) - file_exists = os.path.exists(master_path) - if time.perf_counter() - st > 1800: - print('Wait for acq master exceeded 30 minutes!!!') - break - try: print(f"JF file path = {jf_path}, file_path = {file_path}")