Skip to content

Commit

Permalink
chore: better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nishaq503 committed Jan 12, 2024
1 parent 1e6abb5 commit 62d73e9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ def _unshade_images(
ff_path: path to the flatfield image
df_path: path to the darkfield image
"""
logger.info(f"Applying flatfield correction to {len(img_paths)} images ...")
logger.info(f"{ff_path.name = } ...")
logger.debug(f"Images: {img_paths}")

with bfio.BioReader(ff_path, max_workers=2) as bf:
ff_image = bf[:, :, :, 0, 0].squeeze()

Expand Down

0 comments on commit 62d73e9

Please sign in to comment.