Skip to content

Commit

Permalink
Reset fov_watcher.py back to original
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-l-kong committed Nov 21, 2024
1 parent 87c2b1b commit 9222a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toffy/fov_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ def __init__(
filemode="a",
format="%(name)s - %(levelname)s - %(message)s",
)
logging.info(f"Starting run on {run_folder}\n")

# create run structure
self.run_structure = RunStructure(run_folder, fov_timeout=fov_timeout)
Expand Down Expand Up @@ -508,6 +507,7 @@ def file_timer(self, fov_timeout, watcher_timeout):
if time_elapsed > watcher_timeout:
fov_num = self.last_fov_num_processed
fov_name = list(self.run_structure.fov_progress.keys())[fov_num]
print(f"Timed out waiting for {fov_name} files to be generated.")
logging.info(
f'{datetime.now().strftime("%d/%m/%Y %H:%M:%S")} -- Timed out'
f"waiting for {fov_name} files to be generated.\n"
Expand Down

0 comments on commit 9222a0f

Please sign in to comment.