Skip to content

Commit

Permalink
remove unneccessary print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophia Maedler committed May 6, 2024
1 parent 2c5fea1 commit 8d5dedd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/sparcscore/pipeline/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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."
)
Expand Down Expand Up @@ -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."
)
Expand Down Expand Up @@ -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 = []
Expand Down

0 comments on commit 8d5dedd

Please sign in to comment.