Skip to content

Commit

Permalink
Remove extraneous print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-l-kong committed Jul 26, 2023
1 parent dcadf5a commit 8de35d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/toffy/watcher_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)]

Expand Down

0 comments on commit 8de35d5

Please sign in to comment.