diff --git a/.coveragerc b/.coveragerc index da550cf..2465361 100644 --- a/.coveragerc +++ b/.coveragerc @@ -52,6 +52,7 @@ omit = */utils/banner.py */utils/logger.py */src/* + */pdf_annotation.py ignore_errors = True diff --git a/image_prediction/locations.py b/image_prediction/locations.py index c6c314a..1f14c1a 100644 --- a/image_prediction/locations.py +++ b/image_prediction/locations.py @@ -8,8 +8,6 @@ PACKAGE_ROOT_DIR = MODULE_DIR.parents[0] CONFIG_FILE = PACKAGE_ROOT_DIR / "config.yaml" -COVERAGERC = str(PACKAGE_ROOT_DIR / ".coveragerc") - BANNER_FILE = PACKAGE_ROOT_DIR / "banner.txt" DATA_DIR = PACKAGE_ROOT_DIR / "data" diff --git a/image_prediction/transformer/transformers/coordinate/coordinate_transformer.py b/image_prediction/transformer/transformers/coordinate/coordinate_transformer.py index 484f2a9..d713bf3 100644 --- a/image_prediction/transformer/transformers/coordinate/coordinate_transformer.py +++ b/image_prediction/transformer/transformers/coordinate/coordinate_transformer.py @@ -16,13 +16,17 @@ class CoordinateTransformer(Transformer): def forward(self, metadata): try: return self._forward(metadata) + # FIXME: test case not missing?? why is it missing for backward? except TypeError: + # FIXME: refactor tests so this is not necessary return list(map(self._forward, metadata)) def backward(self, metadata): try: return self._backward(metadata) + # FIXME: test case missing except TypeError: + # FIXME: refactor tests so this is not necessary return list(map(self._backward, metadata)) def transform(self, metadata):