Skip to content

Commit

Permalink
pr comments resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
yrkim98 committed Feb 6, 2024
1 parent aed3a4c commit 40b3ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/allencell_ml_segmenter/prediction/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def extract_num_channels_in_folder(self, path: Path) -> int:
path_generator: Generator[Path] = path.glob("*")
first_image: Path = next(path_generator)
# ignore hidden files
while str(first_image.name).split(".")[0] == "":
while str(first_image.name).startswith("."):
first_image = next(path_generator)

img: AICSImage = AICSImage(str(first_image.resolve()))
Expand Down

0 comments on commit 40b3ce8

Please sign in to comment.