Skip to content

Commit d2c41bf

Browse files
committed
add pixi and contribution instructions to repo
1 parent a51d79c commit d2c41bf

4 files changed

Lines changed: 44 additions & 2 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ target/
55

66
# IPython Notebook
77
.ipynb_checkpoints
8-
o# OS
8+
# OS
99
.DS_Store
1010

1111
.github/
@@ -14,6 +14,8 @@ __pycache__/
1414
src/epicure/resources/__pycache__/
1515
src/epicure/__pycache__/
1616

17+
.pixi/
18+
pixi.lock
1719
env/
1820
build/
1921
develop-eggs/

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ To suggest the addition of a new feature, you can also contact us by filing an i
6767
If you encounter a code related issue using EpiCure, please [file an issue](https://github.com/Image-Analysis-Hub/epicure/issues) in this repository.
6868

6969

70+
To facilitate contributions, we added a pixi file in the repository.
71+
Developers can run:
72+
* `pixi run build` to install locally the plugin and test it manually
73+
* `pixi run test` to run locally the tests from the `src/tests` directory
74+
* `pixi run build-doc` to locally build the documentation pages. The documentation will be build in the `site` folder in the repository. The file `site\index.html` can be open in a browser to see the generated documentation.
75+
76+
The code API can be found [here](https://image-analysis-hub.github.io/Epicure/api/epicure.html) in the online documentation.
77+
Examples of using EpiCure without opening the interface can be found in the test files and the repository notebooks.
78+
79+
7080
[napari]: https://github.com/napari/napari
7181
[file an issue]: https://github.com/Image-Analysis-Hub/epicure/issues
7282
[pip]: https://pypi.org/project/pip/

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ When you have selected the two files, you can start editing by clicking on the `
4141

4242
* [Edit](.//Edit.md): clean the segmentation or correct manually errors through EpiCure options :wrench:
4343
* [Inspect](./Inspect.md): determine cells suspicious of having an error, based on a few morphological or track features, or handle cellular events as divisions :mag:
44-
* [Track](./Track/md): links the labels from one frame to another to reconstruct the whole cell track.
44+
* [Track](./Track.md): links the labels from one frame to another to reconstruct the whole cell track.
4545
* [Output](./Output.md): measure/display cell or track features, export results to other plugins/softwares :outbox_tray:
4646
* [Display](./Display.md): display additional informations (segmentation skeleton, general informations...) or a spatial grid :window:
4747
* [Preferences](./Preferences.md): to set-up user-specific preferences as keyboard shortcuts :capital_abcd:

pixi.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[workspace]
2+
channels = ["conda-forge"]
3+
platforms = ["linux-64", "win-64", "osx-64", "osx-arm64"]
4+
5+
[dependencies]
6+
python = ">=3.10,<3.14"
7+
pip = ">=26.0.1,<27"
8+
wheel = ">=0.46.3,<0.47"
9+
hatchling = ">=1.29.0,<2"
10+
cmake = ">=4.3.0,<5"
11+
12+
[feature.dev.dependencies]
13+
pytest = ">=9.0.2,<10"
14+
pytest-cov = ">=7.0.0,<8"
15+
pytest-qt = "*"
16+
tox = "*"
17+
mkdocs-material = "*"
18+
pdoc = "*"
19+
20+
[feature.dev.pypi-dependencies]
21+
napari = { version = ">=0.6.0, <0.7", extras = ["all"] }
22+
23+
[tasks]
24+
build = "pip install -e ."
25+
test = "pytest -v"
26+
build-doc = "pip install -e . & pdoc epicure -o docs/api & mkdocs build"
27+
go = "pip install -e . & napari"
28+
29+
[environments]
30+
default = { features = ["dev"], solve-group = "default" }

0 commit comments

Comments
 (0)