Skip to content

Commit 773f7a0

Browse files
Merge pull request #106 from computational-cell-analytics/dev
Install micro_sam.sam_annotator
2 parents 8b32c09 + 0bbb19e commit 773f7a0

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
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: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
11
name: build_documentation
22

3-
# build the documentation for a new commit
3+
# build the documentation for a new release
44
on:
55
release:
66
types: created
77

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

911
# security: restrict permissions for CI jobs.
1012
permissions:
1113
contents: read
1214

15+
# NOTE: importing of napari fails with CI and I am not quite sure why
16+
# I tried to adjust it based on the napari CI tests, but that didn't seem to help
17+
18+
# https://github.com/napari/napari/blob/main/.github/workflows/test_comprehensive.yml
1319
jobs:
1420
# Build the documentation and upload the static HTML files as an artifact.
1521
build:
16-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-latest
23+
# runs-on: ${{ matrix.platform }}
24+
# strategy:
25+
# matrix:
26+
# platform: [ubuntu-latest]
27+
# python: ["3.10"]
28+
# backend: [pyqt5`]
29+
1730
steps:
1831
- name: Checkout
1932
uses: actions/checkout@v2

micro_sam/__init__.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
1+
from .__version__ import __version__
2+
13
"""
24
.. include:: ../doc/start_page.md
35
.. include:: ../doc/installation.md
46
.. include:: ../doc/annotation_tools.md
57
.. include:: ../doc/python_library.md
68
"""
7-
8-
__all__ = [
9-
"instance_segmentation",
10-
"prompt_based_segmentation",
11-
"prompt_generators",
12-
"sample_data",
13-
"util",
14-
"visualization",
15-
]

micro_sam/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.1"
1+
__version__ = "0.1.2"

0 commit comments

Comments
 (0)