-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REF: make modellib private + support numpy docstring style in sphinx …
…docs (#56) * make modellib private * expose public api in _modellib * add intersphinx and napoleon extensions * standardize pathlib imports * add docstring for patchclassification obj * use private _modellib import * fix imports for modellib
- Loading branch information
Showing
13 changed files
with
39 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
"""WSInfer is a toolkit for fast patch-based inference on whole slide images.""" | ||
|
||
from . import _version | ||
__version__ = _version.get_versions()['version'] | ||
from ._modellib.models import get_model_weights # noqa | ||
from ._modellib.models import list_all_models_and_weights # noqa | ||
from ._modellib.models import register_model_weights # noqa | ||
from ._modellib.run_inference import run_inference # noqa | ||
from ._modellib.run_inference import WholeSlideImagePatches # noqa | ||
from ._modellib.transforms import PatchClassification # noqa | ||
|
||
__version__ = _version.get_versions()["version"] | ||
|
||
del _version |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import click | ||
|
||
from ..modellib import models | ||
from .._modellib import models | ||
|
||
|
||
@click.command() | ||
|