Skip to content

Commit 07f6d80

Browse files
authored
Merge pull request #8 from bioio-devs/feature/add-bioimage
feature/add bioimage
2 parents 70804df + 75d2561 commit 07f6d80

14 files changed

+1324
-9
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ coverage.xml
5050
.hypothesis/
5151
.pytest_cache/
5252

53+
# Unit test files
54+
bioio/tests/resources/
55+
5356
# Translations
5457
*.mo
5558
*.pot

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Ready to contribute? Here's how to set up `bioio` for local development.
2525

2626
```bash
2727
cd bioio/
28-
just install
28+
just setup-dev
2929
```
3030

3131
4. Create a branch for local development:

Justfile

+6
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ build:
3737
just lint
3838
just test
3939

40+
# install dependencies, setup pre-commit, download test resources
41+
setup-dev:
42+
just install
43+
pre-commit install
44+
python scripts/download_test_resources.py
45+
4046
# generate Sphinx HTML documentation
4147
generate-docs:
4248
rm -f docs/bioio*.rst

bioio/__init__.py

+6
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44

55
from importlib.metadata import PackageNotFoundError, version
66

7+
from .bio_image import BioImage
8+
79
try:
810
__version__ = version("bioio")
911
except PackageNotFoundError:
1012
__version__ = "uninstalled"
1113

1214
__author__ = "Eva Maxfield Brown, Dan Toloudis, BioIO Contributors"
1315
__email__ = "evamaxfieldbrown@gmail.com, danielt@alleninstitute.org"
16+
17+
__all__ = [
18+
"BioImage",
19+
]

0 commit comments

Comments
 (0)