Skip to content

Commit

Permalink
fix docstrings in compositions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestoarbitrio committed Nov 27, 2020
1 parent 7ef75fb commit dae5d81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
[![GitHub](https://img.shields.io/github/license/histolab/histolab)](https://github.com/histolab/histolab/blob/master/LICENSE.txt)

[![Coverage Status](https://coveralls.io/repos/github/histolab/histolab/badge.svg?branch=master&kill_cache=1)](https://coveralls.io/github/histolab/histolab?branch=master)
![CI](https://github.com/histolab/histolab/workflows/CI/badge.svg?branch=master)
[![Documentation Status](https://readthedocs.org/projects/histolab/badge/?version=latest)](https://histolab.readthedocs.io/en/latest/?badge=latest)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

[![PyPI](https://img.shields.io/pypi/v/histolab)](https://pypi.org/project/histolab/)
[![GitHub](https://img.shields.io/github/license/histolab/histolab)](https://github.com/histolab/histolab/blob/master/LICENSE.txt)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/histolab)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/histolab)

Expand Down
4 changes: 2 additions & 2 deletions src/histolab/filters/compositions.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __new__(cls: type, cls_):
class _SlideFiltersComposition(FiltersComposition):
@lazyproperty
def tissue_mask_filters(self) -> imf.Compose:
"""Return a filters composition to get a binary mask to estimate tissue in a slide.
"""Filters composition for slide's tissue estimation.
Returns
-------
Expand All @@ -72,7 +72,7 @@ def tissue_mask_filters(self) -> imf.Compose:
class _TileFiltersComposition(FiltersComposition):
@lazyproperty
def tissue_mask_filters(self) -> imf.Compose:
"""Return a filters composition to get a binary mask to estimate tissue in a tile.
"""Filters composition for tile's tissue estimation.
Returns
-------
Expand Down

0 comments on commit dae5d81

Please sign in to comment.