From 8de35d51ccaf69b6d43f6e6c1250c6dd10074abd Mon Sep 17 00:00:00 2001 From: alex-l-kong Date: Wed, 26 Jul 2023 15:46:28 -0700 Subject: [PATCH] Remove extraneous print statements --- src/toffy/watcher_callbacks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/toffy/watcher_callbacks.py b/src/toffy/watcher_callbacks.py index 5140d810..d69aaf40 100644 --- a/src/toffy/watcher_callbacks.py +++ b/src/toffy/watcher_callbacks.py @@ -190,13 +190,11 @@ def extract_tiffs(self, tiff_out_dir: str, panel: pd.DataFrame, **kwargs): unextracted_chan_tiffs = set(all_chan_tiffs).difference(extracted_chan_tiffs) if len(unextracted_chan_tiffs) == 0: - print("Case where all images extracted") warnings.warn(f"Images already extracted for FOV {self.point_name}") return # ensure we don't re-extract channels that have already been extracted if unextracted_chan_tiffs: - print("Case where not all images extracted") unextracted_chans = io_utils.remove_file_extensions(unextracted_chan_tiffs) panel = panel[panel["Target"].isin(unextracted_chans)]