Skip to content

Commit

Permalink
remove counter class from utils
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestoarbitrio committed Oct 28, 2020
1 parent 62dd7ec commit 0f1b927
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/histolab/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,6 @@ def threshold_to_mask(
return relate(img_arr, threshold)


class Counter(dict):
"""Mapping where default values are zero"""

def __missing__(self, key):
return 0


def lazyproperty(f: Callable[..., Any]):
"""Decorator like @property, but evaluated only on first access.
Expand Down

0 comments on commit 0f1b927

Please sign in to comment.