From 8d5dedd7ad59d0f87d15fdf616769a362fd32032 Mon Sep 17 00:00:00 2001 From: Sophia Maedler Date: Mon, 6 May 2024 15:27:56 +0200 Subject: [PATCH] remove unneccessary print statements --- src/sparcscore/pipeline/project.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/sparcscore/pipeline/project.py b/src/sparcscore/pipeline/project.py index 3e25db8..a058113 100644 --- a/src/sparcscore/pipeline/project.py +++ b/src/sparcscore/pipeline/project.py @@ -363,8 +363,6 @@ def load_input_from_file(self, file_paths, crop=[(0, -1), (0, -1)]): self.input_image = np.stack(channels) - print(self.input_image.shape) - if self.remap is not None: self.input_image = self.input_image[self.remap] @@ -824,7 +822,6 @@ def load_input_from_array(self, img, label, overwrite=False): "input_images", data=img, chunks=(1, 1, img.shape[2], img.shape[2]) ) - print(hf.keys()) hf.close() def load_input_from_files( @@ -929,7 +926,7 @@ def _read_write_images(dir, indexes, h5py_path): continue else: print(f"No images found for Timepoint {timepoint}") - # print(f"{sum} different timepoints found of the total {len(timepoints)} timepoints given.") + self.log( f"{sum} different timepoints found of the total {len(timepoints)} timepoints given." ) @@ -1144,7 +1141,7 @@ def _read_write_images(well, indexes, h5py_path): continue else: print(f"No images found for Timepoint {timepoint}") - # print(f"{sum} different timepoints found of the total {len(timepoints)} timepoints given.") + self.log( f"{sum} different timepoints found of the total {len(timepoints)} timepoints given." ) @@ -1545,7 +1542,6 @@ def load_input_from_files_and_merge( cropped = merged_images[ :, slice(diff1x, x - diff1y), slice(diff2x, y - diff2y) ] - print(merged_images.shape, cropped.shape) # create labelling column_values = []