Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
undo and add pragma no cover
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnv1 committed Apr 6, 2022
1 parent 978d158 commit 00e11ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CCAgT_utils/describe.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ def from_image_files(

processes = []
for filenames in filenames_splitted:
if len(filenames) == 0:
continue # pragma: no cover

p = workers.apply_async(single_core_from_image_files, (filenames.tolist(),))
processes.append(p)
Expand Down Expand Up @@ -333,6 +335,8 @@ def from_mask_files(

processes = []
for filenames in filenames_splitted:
if len(filenames) == 0:
continue # pragma: no cover

p = workers.apply_async(single_core_from_mask_files, (filenames.tolist(),))
processes.append(p)
Expand Down

0 comments on commit 00e11ac

Please sign in to comment.