Skip to content

Commit

Permalink
correct readme install (#92)
Browse files Browse the repository at this point in the history
* correct readme install

* Try to fix seed overflow in tests

* Update test_and_deploy.yml

---------

Co-authored-by: C-Achard <[email protected]>
Co-authored-by: Mackenzie Mathis <[email protected]>
  • Loading branch information
3 people authored Sep 9, 2024
1 parent 57b0353 commit 9340105
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
matrix:
# platform: [ubuntu-latest, windows-latest] # , macos-latest
platform: [ubuntu-latest]
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.8', '3.9'] #issues with monai and 3.10; pausing for now. users should use python 3.9

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ To avoid issues when installing on the ARM64 architecture, please follow these s

git clone https://github.com/AdaptiveMotorControlLab/CellSeg3d.git
cd CellSeg3d
conda env create -f conda/CellSeg3D_ARM64.yml
conda env create -f conda/napari_CellSeg3D_ARM64.yml
conda activate napari_CellSeg3D_ARM64


Expand Down
3 changes: 3 additions & 0 deletions napari_cellseg3d/_tests/test_plugin_training.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from pathlib import Path

from monai.utils import set_determinism

from napari_cellseg3d import config
from napari_cellseg3d.code_plugins.plugin_model_training import (
Trainer,
Expand All @@ -11,6 +13,7 @@


def test_worker_configs(make_napari_viewer_proxy):
set_determinism(seed=0)
viewer = make_napari_viewer_proxy()
widget = Trainer(viewer=viewer)
# test supervised config and worker
Expand Down

0 comments on commit 9340105

Please sign in to comment.