remove master wait block. JF files now closed properly when written. All good i think.

This commit is contained in:
John Henry Beale
2026-06-15 10:21:33 +02:00
parent 95738b72d5
commit 3928f28cc0
-11
View File
@@ -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}")