Skip to content

Commit 3467e7b

Browse files
committed
Add default import and simpify docstring
1 parent 843479e commit 3467e7b

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

stroke_segmentor/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
from loguru import logger
22

33
logger.disable("stroke_segmentor")
4+
5+
from stroke_segmentor.inferer import Inferer # noqa: F401

stroke_segmentor/inferer.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ class Inferer:
1515
Handles inference for stroke segmentation using DWI and ADC images.
1616
This class wraps a model handler to perform inference on given images and can optionally
1717
save the resulting segmentation mask to disk.
18-
19-
Basic usage:
20-
```
21-
.. code-block:: python
22-
23-
inferer = Inferer()
24-
prediction = inferer.infer(adc_path, dwi_path, segmentation_path)
25-
```
2618
"""
2719

2820
def __init__(

0 commit comments

Comments
 (0)