Skip to content

Commit a3713f7

Browse files
Include sam_annotator in build againa and try to make doc CI script run with napari
1 parent 24cd64a commit a3713f7

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.github/doc_env.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ name:
55
sam
66
dependencies:
77
- cpuonly
8+
- napari
89
- pdoc
910
- pooch
11+
- pyqt
1012
- python-elf
1113
- pytorch
1214
- torchvision

.github/workflows/build_docs.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: build_documentation
22

3-
# build the documentation for a new commit
4-
on:
5-
release:
6-
types: created
3+
# build the documentation for a new release
4+
# on:
5+
# release:
6+
# types: created
77

8+
# for debugging
9+
on: [push, pull_request]
810

911
# security: restrict permissions for CI jobs.
1012
permissions:
@@ -18,6 +20,9 @@ jobs:
1820
- name: Checkout
1921
uses: actions/checkout@v2
2022

23+
- name: Install Qt
24+
uses: jurplel/install-qt-action@v3
25+
2126
- name: Setup miniconda
2227
uses: conda-incubator/setup-miniconda@v2
2328
with:

micro_sam/__init__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,3 @@
66
.. include:: ../doc/annotation_tools.md
77
.. include:: ../doc/python_library.md
88
"""
9-
10-
__all__ = [
11-
"instance_segmentation",
12-
"prompt_based_segmentation",
13-
"prompt_generators",
14-
"sample_data",
15-
"util",
16-
"visualization",
17-
]

0 commit comments

Comments
 (0)