Skip to content

Commit

Permalink
Print file count in each poll
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Dec 12, 2024
1 parent 06bfdd4 commit 2e4777d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reg_chxr.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ def main(options: Namespace, inputdir: Path, outputdir: Path):
poll_count += 1
time.sleep(wait_poll)
registered_file_count = cube_cl.get_pacs_registered(pacs_search_params)
LOG(f"Registered file count is {registered_file_count}")

# check if polling timed out before registration is finished
if registered_file_count != file_count:
Expand Down

0 comments on commit 2e4777d

Please sign in to comment.