remove master wait block. JF files now closed properly when written. All good i think.
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user